{"openapi":"3.1.1","jsonSchemaDialect":"https://json-schema.org/draft/2020-12/schema","info":{"title":"SosoAPI public API","version":"sha256:563d2d581da0ad29","description":"Connect accounts, manage content and schedule posts with the SosoAPI public API. Agent sign-in endpoints are included. Examples use fictional data."},"servers":[{"url":"https://gqeshlawtcexsapabaui.supabase.co/functions/v1"}],"paths":{"/analytics-api/dashboard/ops-counts":{"post":{"operationId":"analytics-api-dashboard-ops-counts","summary":"Get dashboard counts","description":"Read dashboard operational counts. Examples use fictional values checked against the schemas. See the linked reference for permissions and how to confirm the result.","tags":["analytics"],"externalDocs":{"url":"https://sosoapi.ai/docs/api/analytics-api-dashboard-ops-counts"},"security":[{"bearerAuth":[]}],"x-sosoapi-authorization":{"public":false,"human_jwt":true,"delegated_oauth":true,"personal_access_token":true,"account_level":false,"all_workspace_consent_required":false,"minimum_workspace_role":"viewer"},"x-sosoapi-cli-callable":true,"x-sosoapi-capability":"agent:operate","x-sosoapi-completion-truth":"synchronous_http_response","requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/analytics-api-dashboard-ops-counts-request"},"example":{"workspace_id":"11111111-1111-4111-8111-111111111111"}}}},"responses":{"200":{"description":"Successful HTTP response. Completion requirement: synchronous_http_response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/analytics-api-dashboard-ops-counts-response"},"example":{"scheduledCount":null,"recentJobsCount":null,"socialsCount":null}}}},"default":{"description":"Check the HTTP status and error body. Validation errors can use a different format from handler errors. Keep the request ID, and check the existing result before retrying a write whose outcome is uncertain."}}}},"/analytics-api/provider-insights/request":{"post":{"operationId":"analytics-api-provider-insights-request","summary":"Request provider insights","description":"Request provider-authoritative insights. Examples use fictional values checked against the schemas. See the linked reference for permissions and how to confirm the result.","tags":["analytics"],"externalDocs":{"url":"https://sosoapi.ai/docs/api/analytics-api-provider-insights-request"},"security":[{"bearerAuth":[]}],"x-sosoapi-authorization":{"public":false,"human_jwt":true,"delegated_oauth":true,"personal_access_token":true,"account_level":false,"all_workspace_consent_required":false,"minimum_workspace_role":"viewer"},"x-sosoapi-cli-callable":true,"x-sosoapi-capability":"agent:operate","x-sosoapi-completion-truth":"provider-native result or explicit unavailable reason","requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/analytics-api-provider-insights-request-request"},"example":{"workspace_id":"11111111-1111-4111-8111-111111111111","social_account_id":"11111111-1111-4111-8111-111111111111","resource_kind":"account"}}}},"responses":{"200":{"description":"Successful HTTP response. Completion requirement: provider-native result or explicit unavailable reason","content":{"application/json":{"schema":{"$ref":"#/components/schemas/analytics-api-provider-insights-request-response"},"example":{"contract_version":"provider-insights/v1","request_id":"11111111-1111-4111-8111-111111111111","status":"queued","cache_status":"hit","poll_after_ms":0}}}},"202":{"description":"Successful HTTP response. Completion requirement: provider-native result or explicit unavailable reason","content":{"application/json":{"schema":{"$ref":"#/components/schemas/analytics-api-provider-insights-request-response"},"example":{"contract_version":"provider-insights/v1","request_id":"11111111-1111-4111-8111-111111111111","status":"queued","cache_status":"hit","poll_after_ms":0}}}},"default":{"description":"Check the HTTP status and error body. Validation errors can use a different format from handler errors. Keep the request ID, and check the existing result before retrying a write whose outcome is uncertain."}}}},"/analytics-api/provider-insights/status":{"post":{"operationId":"analytics-api-provider-insights-status","summary":"Get provider insight status","description":"Read provider insight request status. Examples use fictional values checked against the schemas. See the linked reference for permissions and how to confirm the result.","tags":["analytics"],"externalDocs":{"url":"https://sosoapi.ai/docs/api/analytics-api-provider-insights-status"},"security":[{"bearerAuth":[]}],"x-sosoapi-authorization":{"public":false,"human_jwt":true,"delegated_oauth":true,"personal_access_token":true,"account_level":false,"all_workspace_consent_required":false,"minimum_workspace_role":"viewer"},"x-sosoapi-cli-callable":true,"x-sosoapi-capability":"agent:operate","x-sosoapi-completion-truth":"provider-native result or explicit unavailable reason","requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/analytics-api-provider-insights-status-request"},"example":{"workspace_id":"11111111-1111-4111-8111-111111111111","request_id":"11111111-1111-4111-8111-111111111111"}}}},"responses":{"200":{"description":"Successful HTTP response. Completion requirement: provider-native result or explicit unavailable reason","content":{"application/json":{"schema":{"$ref":"#/components/schemas/analytics-api-provider-insights-status-response"},"example":{"contract_version":"provider-insights/v1","request_id":"11111111-1111-4111-8111-111111111111","status":"queued","attempt_count":0}}}},"default":{"description":"Check the HTTP status and error body. Validation errors can use a different format from handler errors. Keep the request ID, and check the existing result before retrying a write whose outcome is uncertain."}}}},"/analytics-api/social/comments/query":{"post":{"operationId":"analytics-api-social-comments-query","summary":"List post comments","description":"Read discovered social comments. Examples use fictional values checked against the schemas. See the linked reference for permissions and how to confirm the result.","tags":["analytics"],"externalDocs":{"url":"https://sosoapi.ai/docs/api/analytics-api-social-comments-query"},"security":[{"bearerAuth":[]}],"x-sosoapi-authorization":{"public":false,"human_jwt":true,"delegated_oauth":true,"personal_access_token":true,"account_level":false,"all_workspace_consent_required":false,"minimum_workspace_role":"viewer"},"x-sosoapi-cli-callable":true,"x-sosoapi-capability":"agent:operate","x-sosoapi-completion-truth":"synchronous_http_response","requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/analytics-api-social-comments-query-request"},"example":{"workspace_id":"11111111-1111-4111-8111-111111111111"}}}},"responses":{"200":{"description":"Successful HTTP response. Completion requirement: synchronous_http_response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/analytics-api-social-comments-query-response"},"example":{"contract_version":"social-analytics/v1","cursor_contract_version":"social-analytics-keyset/v1","data":[],"next_cursor":null}}}},"default":{"description":"Check the HTTP status and error body. Validation errors can use a different format from handler errors. Keep the request ID, and check the existing result before retrying a write whose outcome is uncertain."}}}},"/analytics-api/social/posts/query":{"post":{"operationId":"analytics-api-social-posts-query","summary":"List monitored posts","description":"Read discovered social posts. Examples use fictional values checked against the schemas. See the linked reference for permissions and how to confirm the result.","tags":["analytics"],"externalDocs":{"url":"https://sosoapi.ai/docs/api/analytics-api-social-posts-query"},"security":[{"bearerAuth":[]}],"x-sosoapi-authorization":{"public":false,"human_jwt":true,"delegated_oauth":true,"personal_access_token":true,"account_level":false,"all_workspace_consent_required":false,"minimum_workspace_role":"viewer"},"x-sosoapi-cli-callable":true,"x-sosoapi-capability":"agent:operate","x-sosoapi-completion-truth":"synchronous_http_response","requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/analytics-api-social-posts-query-request"},"example":{"workspace_id":"11111111-1111-4111-8111-111111111111"}}}},"responses":{"200":{"description":"Successful HTTP response. Completion requirement: synchronous_http_response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/analytics-api-social-posts-query-response"},"example":{"contract_version":"social-analytics/v1","cursor_contract_version":"social-analytics-keyset/v1","data":[],"next_cursor":null}}}},"default":{"description":"Check the HTTP status and error body. Validation errors can use a different format from handler errors. Keep the request ID, and check the existing result before retrying a write whose outcome is uncertain."}}}},"/assets-api/create":{"post":{"operationId":"assets-api-create","summary":"Create asset","description":"Register asset metadata. Examples use fictional values checked against the schemas. See the linked reference for permissions and how to confirm the result.","tags":["assets"],"externalDocs":{"url":"https://sosoapi.ai/docs/api/assets-api-create"},"security":[{"bearerAuth":[]}],"x-sosoapi-authorization":{"public":false,"human_jwt":true,"delegated_oauth":true,"personal_access_token":true,"account_level":false,"all_workspace_consent_required":false,"minimum_workspace_role":"editor"},"x-sosoapi-cli-callable":true,"x-sosoapi-capability":"agent:operate","x-sosoapi-completion-truth":"synchronous_http_response","requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/assets-api-create-request"},"example":{"asset_type":"text","asset_url":"example"}}}},"responses":{"200":{"description":"Successful HTTP response. Completion requirement: synchronous_http_response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/assets-api-create-response"},"example":{"asset":{"id":0,"workspace_id":"11111111-1111-4111-8111-111111111111","user_id":"11111111-1111-4111-8111-111111111111","asset_type":"text","asset_url":null,"title":null,"description":null,"tags":null,"metadata":null,"created_at":"example"},"deduped":false}}}},"default":{"description":"Check the HTTP status and error body. Validation errors can use a different format from handler errors. Keep the request ID, and check the existing result before retrying a write whose outcome is uncertain."}}}},"/assets-api/delete":{"post":{"operationId":"assets-api-delete","summary":"Delete asset","description":"Delete one asset. Examples use fictional values checked against the schemas. See the linked reference for permissions and how to confirm the result.","tags":["assets"],"externalDocs":{"url":"https://sosoapi.ai/docs/api/assets-api-delete"},"security":[{"bearerAuth":[]}],"x-sosoapi-authorization":{"public":false,"human_jwt":true,"delegated_oauth":true,"personal_access_token":true,"account_level":false,"all_workspace_consent_required":false,"minimum_workspace_role":"owner"},"x-sosoapi-cli-callable":true,"x-sosoapi-capability":"agent:operate","x-sosoapi-completion-truth":"synchronous_http_response","requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/assets-api-delete-request"},"example":{"id":0}}}},"responses":{"200":{"description":"Successful HTTP response. Completion requirement: synchronous_http_response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/assets-api-delete-response"},"example":{"ok":true}}}},"default":{"description":"Check the HTTP status and error body. Validation errors can use a different format from handler errors. Keep the request ID, and check the existing result before retrying a write whose outcome is uncertain."}}}},"/assets-api/exports/create":{"post":{"operationId":"assets-api-exports-create","summary":"Create asset export","description":"Create an asset export evidence job. Examples use fictional values checked against the schemas. See the linked reference for permissions and how to confirm the result.","tags":["assets"],"externalDocs":{"url":"https://sosoapi.ai/docs/api/assets-api-exports-create"},"security":[{"bearerAuth":[]}],"x-sosoapi-authorization":{"public":false,"human_jwt":true,"delegated_oauth":true,"personal_access_token":true,"account_level":false,"all_workspace_consent_required":false,"minimum_workspace_role":"editor"},"x-sosoapi-cli-callable":true,"x-sosoapi-capability":"agent:operate","x-sosoapi-completion-truth":"synchronous_http_response","requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/assets-api-exports-create-request"},"example":{"workspace_id":"11111111-1111-4111-8111-111111111111","mode":"export_only","asset_ids":[1]}}}},"responses":{"200":{"description":"Successful HTTP response. Completion requirement: synchronous_http_response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/assets-api-exports-create-response"},"example":{"export_id":"11111111-1111-4111-8111-111111111111","status":"exported","manifest_sha256":"aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa","manifest_object_key":"example","deduped":false}}}},"default":{"description":"Check the HTTP status and error body. Validation errors can use a different format from handler errors. Keep the request ID, and check the existing result before retrying a write whose outcome is uncertain."}}}},"/assets-api/exports/status":{"post":{"operationId":"assets-api-exports-status","summary":"Get asset export status","description":"Read durable asset export status. Examples use fictional values checked against the schemas. See the linked reference for permissions and how to confirm the result.","tags":["assets"],"externalDocs":{"url":"https://sosoapi.ai/docs/api/assets-api-exports-status"},"security":[{"bearerAuth":[]}],"x-sosoapi-authorization":{"public":false,"human_jwt":true,"delegated_oauth":true,"personal_access_token":true,"account_level":false,"all_workspace_consent_required":false,"minimum_workspace_role":"viewer"},"x-sosoapi-cli-callable":true,"x-sosoapi-capability":"agent:operate","x-sosoapi-completion-truth":"synchronous_http_response","requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/assets-api-exports-status-request"},"example":{"workspace_id":"11111111-1111-4111-8111-111111111111","export_id":"11111111-1111-4111-8111-111111111111"}}}},"responses":{"200":{"description":"Successful HTTP response. Completion requirement: synchronous_http_response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/assets-api-exports-status-response"},"example":{"export_id":"11111111-1111-4111-8111-111111111111","status":"exported","job_id":null,"verification_error":null,"verification_cursor":0,"verified_at":null}}}},"default":{"description":"Check the HTTP status and error body. Validation errors can use a different format from handler errors. Keep the request ID, and check the existing result before retrying a write whose outcome is uncertain."}}}},"/assets-api/exports/verify":{"post":{"operationId":"assets-api-exports-verify","summary":"Verify asset export","description":"Verify an asset export before any purge. Examples use fictional values checked against the schemas. See the linked reference for permissions and how to confirm the result.","tags":["assets"],"externalDocs":{"url":"https://sosoapi.ai/docs/api/assets-api-exports-verify"},"security":[{"bearerAuth":[]}],"x-sosoapi-authorization":{"public":false,"human_jwt":true,"delegated_oauth":true,"personal_access_token":true,"account_level":false,"all_workspace_consent_required":false,"minimum_workspace_role":"editor"},"x-sosoapi-cli-callable":true,"x-sosoapi-capability":"agent:operate","x-sosoapi-completion-truth":"synchronous_http_response","requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/assets-api-exports-verify-request"},"example":{"workspace_id":"11111111-1111-4111-8111-111111111111","export_id":"11111111-1111-4111-8111-111111111111"}}}},"responses":{"200":{"description":"Successful HTTP response. Completion requirement: synchronous_http_response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/assets-api-exports-verify-response"},"example":{"export_id":"11111111-1111-4111-8111-111111111111","job_id":null,"status":"verifying"}}}},"default":{"description":"Check the HTTP status and error body. Validation errors can use a different format from handler errors. Keep the request ID, and check the existing result before retrying a write whose outcome is uncertain."}}}},"/assets-api/get":{"post":{"operationId":"assets-api-get","summary":"Get asset","description":"Read one asset by ID. Examples use fictional values checked against the schemas. See the linked reference for permissions and how to confirm the result.","tags":["assets"],"externalDocs":{"url":"https://sosoapi.ai/docs/api/assets-api-get"},"security":[{"bearerAuth":[]}],"x-sosoapi-authorization":{"public":false,"human_jwt":true,"delegated_oauth":true,"personal_access_token":true,"account_level":false,"all_workspace_consent_required":false,"minimum_workspace_role":"viewer"},"x-sosoapi-cli-callable":true,"x-sosoapi-capability":"agent:operate","x-sosoapi-completion-truth":"synchronous_http_response","requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/assets-api-get-request"},"example":{"id":0}}}},"responses":{"200":{"description":"Successful HTTP response. Completion requirement: synchronous_http_response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/assets-api-get-response"},"example":{"asset":{"id":0,"workspace_id":"11111111-1111-4111-8111-111111111111","user_id":"11111111-1111-4111-8111-111111111111","asset_type":"text","asset_url":null,"title":null,"description":null,"tags":null,"metadata":null,"created_at":"example"}}}}},"default":{"description":"Check the HTTP status and error body. Validation errors can use a different format from handler errors. Keep the request ID, and check the existing result before retrying a write whose outcome is uncertain."}}}},"/assets-api/imports/status":{"post":{"operationId":"assets-api-imports-status","summary":"Get asset import status","description":"Read durable media import status. Examples use fictional values checked against the schemas. See the linked reference for permissions and how to confirm the result.","tags":["assets"],"externalDocs":{"url":"https://sosoapi.ai/docs/api/assets-api-imports-status"},"security":[{"bearerAuth":[]}],"x-sosoapi-authorization":{"public":false,"human_jwt":true,"delegated_oauth":true,"personal_access_token":true,"account_level":false,"all_workspace_consent_required":false,"minimum_workspace_role":"viewer"},"x-sosoapi-cli-callable":true,"x-sosoapi-capability":"agent:operate","x-sosoapi-completion-truth":"synchronous_http_response","requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/assets-api-imports-status-request"},"example":{"workspace_id":"11111111-1111-4111-8111-111111111111","import_id":"11111111-1111-4111-8111-111111111111"}}}},"responses":{"200":{"description":"Successful HTTP response. Completion requirement: synchronous_http_response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/assets-api-imports-status-response"},"example":{"import":{"id":"11111111-1111-4111-8111-111111111111","status":"queued","job_id":null,"asset_id":null,"completed_asset_id":null,"asset_purged_at":null,"source_url":"https://example.com/media.png","final_url":null,"object_key":null,"content_type":null,"byte_size":null,"content_sha256":null,"media_probe":null,"error_message":null,"created_at":"example","completed_at":null}}}}},"default":{"description":"Check the HTTP status and error body. Validation errors can use a different format from handler errors. Keep the request ID, and check the existing result before retrying a write whose outcome is uncertain."}}}},"/assets-api/imports/url":{"post":{"operationId":"assets-api-imports-url","summary":"Import asset URL","description":"Queue explicit external media intake. Examples use fictional values checked against the schemas. See the linked reference for permissions and how to confirm the result.","tags":["assets"],"externalDocs":{"url":"https://sosoapi.ai/docs/api/assets-api-imports-url"},"security":[{"bearerAuth":[]}],"x-sosoapi-authorization":{"public":false,"human_jwt":true,"delegated_oauth":true,"personal_access_token":true,"account_level":false,"all_workspace_consent_required":false,"minimum_workspace_role":"editor"},"x-sosoapi-cli-callable":true,"x-sosoapi-capability":"agent:operate","x-sosoapi-completion-truth":"queued_asynchronous_poll_import_status","requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/assets-api-imports-url-request"},"example":{"workspace_id":"11111111-1111-4111-8111-111111111111","source_url":"https://example.com/media.png","idempotency_key":"example-intent-0001"}}}},"responses":{"200":{"description":"Successful HTTP response. Completion requirement: queued_asynchronous_poll_import_status","content":{"application/json":{"schema":{"$ref":"#/components/schemas/assets-api-imports-url-response"},"example":{"import_id":"11111111-1111-4111-8111-111111111111","job_id":"11111111-1111-4111-8111-111111111111","status":"queued"}}}},"default":{"description":"Check the HTTP status and error body. Validation errors can use a different format from handler errors. Keep the request ID, and check the existing result before retrying a write whose outcome is uncertain."}}}},"/assets-api/list":{"post":{"operationId":"assets-api-list","summary":"Query assets","description":"Query assets with legacy-compatible filters. Examples use fictional values checked against the schemas. See the linked reference for permissions and how to confirm the result.","tags":["assets"],"externalDocs":{"url":"https://sosoapi.ai/docs/api/assets-api-list"},"security":[{"bearerAuth":[]}],"x-sosoapi-authorization":{"public":false,"human_jwt":true,"delegated_oauth":true,"personal_access_token":true,"account_level":false,"all_workspace_consent_required":false,"minimum_workspace_role":"viewer"},"x-sosoapi-cli-callable":true,"x-sosoapi-capability":"agent:operate","x-sosoapi-completion-truth":"synchronous_http_response","requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/assets-api-list-request"},"example":{}}}},"responses":{"200":{"description":"Successful HTTP response. Completion requirement: synchronous_http_response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/assets-api-list-response"},"example":{"assets":[],"total":0}}}},"default":{"description":"Check the HTTP status and error body. Validation errors can use a different format from handler errors. Keep the request ID, and check the existing result before retrying a write whose outcome is uncertain."}}}},"/assets-api/list-workspace":{"post":{"operationId":"assets-api-list-workspace","summary":"List assets","description":"List Workspace assets. Examples use fictional values checked against the schemas. See the linked reference for permissions and how to confirm the result.","tags":["assets"],"externalDocs":{"url":"https://sosoapi.ai/docs/api/assets-api-list-workspace"},"security":[{"bearerAuth":[]}],"x-sosoapi-authorization":{"public":false,"human_jwt":true,"delegated_oauth":true,"personal_access_token":true,"account_level":false,"all_workspace_consent_required":false,"minimum_workspace_role":"viewer"},"x-sosoapi-cli-callable":true,"x-sosoapi-capability":"agent:operate","x-sosoapi-completion-truth":"synchronous_http_response","requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/assets-api-list-workspace-request"},"example":{"workspace_id":"11111111-1111-4111-8111-111111111111"}}}},"responses":{"200":{"description":"Successful HTTP response. Completion requirement: synchronous_http_response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/assets-api-list-workspace-response"},"example":{"assets":[],"total":0,"next_offset":null}}}},"default":{"description":"Check the HTTP status and error body. Validation errors can use a different format from handler errors. Keep the request ID, and check the existing result before retrying a write whose outcome is uncertain."}}}},"/assets-api/orphans/delete":{"post":{"operationId":"assets-api-orphans-delete","summary":"Delete orphan assets","description":"Delete selected unregistered R2 objects. Examples use fictional values checked against the schemas. See the linked reference for permissions and how to confirm the result.","tags":["assets"],"externalDocs":{"url":"https://sosoapi.ai/docs/api/assets-api-orphans-delete"},"security":[{"bearerAuth":[]}],"x-sosoapi-authorization":{"public":false,"human_jwt":true,"delegated_oauth":true,"personal_access_token":true,"account_level":false,"all_workspace_consent_required":false,"minimum_workspace_role":"owner"},"x-sosoapi-cli-callable":true,"x-sosoapi-capability":"agent:operate","x-sosoapi-completion-truth":"synchronous_http_response","requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/assets-api-orphans-delete-request"},"example":{"workspace_id":"11111111-1111-4111-8111-111111111111","keys":["example"]}}}},"responses":{"200":{"description":"Successful HTTP response. Completion requirement: synchronous_http_response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/assets-api-orphans-delete-response"},"example":{"results":[]}}}},"default":{"description":"Check the HTTP status and error body. Validation errors can use a different format from handler errors. Keep the request ID, and check the existing result before retrying a write whose outcome is uncertain."}}}},"/assets-api/orphans/list":{"post":{"operationId":"assets-api-orphans-list","summary":"List orphan assets","description":"List unregistered R2 objects. Examples use fictional values checked against the schemas. See the linked reference for permissions and how to confirm the result.","tags":["assets"],"externalDocs":{"url":"https://sosoapi.ai/docs/api/assets-api-orphans-list"},"security":[{"bearerAuth":[]}],"x-sosoapi-authorization":{"public":false,"human_jwt":true,"delegated_oauth":true,"personal_access_token":true,"account_level":false,"all_workspace_consent_required":false,"minimum_workspace_role":"owner"},"x-sosoapi-cli-callable":true,"x-sosoapi-capability":"agent:operate","x-sosoapi-completion-truth":"synchronous_http_response","requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/assets-api-orphans-list-request"},"example":{"workspace_id":"11111111-1111-4111-8111-111111111111"}}}},"responses":{"200":{"description":"Successful HTTP response. Completion requirement: synchronous_http_response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/assets-api-orphans-list-response"},"example":{"orphans":[],"total":0,"next_object_continuation_token":null,"continuation_token":null}}}},"default":{"description":"Check the HTTP status and error body. Validation errors can use a different format from handler errors. Keep the request ID, and check the existing result before retrying a write whose outcome is uncertain."}}}},"/assets-api/purges/request":{"post":{"operationId":"assets-api-purges-request","summary":"Request asset purge","description":"Request owner-fenced asset purge. Examples use fictional values checked against the schemas. See the linked reference for permissions and how to confirm the result.","tags":["assets"],"externalDocs":{"url":"https://sosoapi.ai/docs/api/assets-api-purges-request"},"security":[{"bearerAuth":[]}],"x-sosoapi-authorization":{"public":false,"human_jwt":true,"delegated_oauth":true,"personal_access_token":true,"account_level":false,"all_workspace_consent_required":false,"minimum_workspace_role":"owner"},"x-sosoapi-cli-callable":true,"x-sosoapi-capability":"agent:operate","x-sosoapi-completion-truth":"synchronous_http_response","requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/assets-api-purges-request-request"},"example":{"workspace_id":"11111111-1111-4111-8111-111111111111","export_id":"11111111-1111-4111-8111-111111111111","asset_ids":[1]}}}},"responses":{"200":{"description":"Successful HTTP response. Completion requirement: synchronous_http_response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/assets-api-purges-request-response"},"example":{"purge_request_id":"11111111-1111-4111-8111-111111111111","job_id":"11111111-1111-4111-8111-111111111111","status":"requested","classifications":[],"deduped":false}}}},"default":{"description":"Check the HTTP status and error body. Validation errors can use a different format from handler errors. Keep the request ID, and check the existing result before retrying a write whose outcome is uncertain."}}}},"/assets-api/purges/retry":{"post":{"operationId":"assets-api-purges-retry","summary":"Retry asset purge","description":"Retry an eligible fenced purge. Examples use fictional values checked against the schemas. See the linked reference for permissions and how to confirm the result.","tags":["assets"],"externalDocs":{"url":"https://sosoapi.ai/docs/api/assets-api-purges-retry"},"security":[{"bearerAuth":[]}],"x-sosoapi-authorization":{"public":false,"human_jwt":true,"delegated_oauth":true,"personal_access_token":true,"account_level":false,"all_workspace_consent_required":false,"minimum_workspace_role":"owner"},"x-sosoapi-cli-callable":true,"x-sosoapi-capability":"agent:operate","x-sosoapi-completion-truth":"synchronous_http_response","requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/assets-api-purges-retry-request"},"example":{"workspace_id":"11111111-1111-4111-8111-111111111111","purge_request_id":"11111111-1111-4111-8111-111111111111"}}}},"responses":{"200":{"description":"Successful HTTP response. Completion requirement: synchronous_http_response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/assets-api-purges-retry-response"},"example":{"purge_request_id":"11111111-1111-4111-8111-111111111111","job_id":"11111111-1111-4111-8111-111111111111","status":"requested","deduped":false}}}},"default":{"description":"Check the HTTP status and error body. Validation errors can use a different format from handler errors. Keep the request ID, and check the existing result before retrying a write whose outcome is uncertain."}}}},"/assets-api/storage/inventory":{"post":{"operationId":"assets-api-storage-inventory","summary":"Get asset storage inventory","description":"Read bounded registered/object storage inventory. Examples use fictional values checked against the schemas. See the linked reference for permissions and how to confirm the result.","tags":["assets"],"externalDocs":{"url":"https://sosoapi.ai/docs/api/assets-api-storage-inventory"},"security":[{"bearerAuth":[]}],"x-sosoapi-authorization":{"public":false,"human_jwt":true,"delegated_oauth":true,"personal_access_token":true,"account_level":false,"all_workspace_consent_required":false,"minimum_workspace_role":"viewer"},"x-sosoapi-cli-callable":true,"x-sosoapi-capability":"agent:operate","x-sosoapi-completion-truth":"synchronous_http_response","requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/assets-api-storage-inventory-request"},"example":{"workspace_id":"11111111-1111-4111-8111-111111111111"}}}},"responses":{"200":{"description":"Successful HTTP response. Completion requirement: synchronous_http_response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/assets-api-storage-inventory-response"},"example":{"assets":[],"objects":[],"next_asset_cursor":null,"next_object_continuation_token":null,"continuation_token":null}}}},"default":{"description":"Check the HTTP status and error body. Validation errors can use a different format from handler errors. Keep the request ID, and check the existing result before retrying a write whose outcome is uncertain."}}}},"/assets-api/update":{"post":{"operationId":"assets-api-update","summary":"Update asset","description":"Update asset metadata. Examples use fictional values checked against the schemas. See the linked reference for permissions and how to confirm the result.","tags":["assets"],"externalDocs":{"url":"https://sosoapi.ai/docs/api/assets-api-update"},"security":[{"bearerAuth":[]}],"x-sosoapi-authorization":{"public":false,"human_jwt":true,"delegated_oauth":true,"personal_access_token":true,"account_level":false,"all_workspace_consent_required":false,"minimum_workspace_role":"editor"},"x-sosoapi-cli-callable":true,"x-sosoapi-capability":"agent:operate","x-sosoapi-completion-truth":"synchronous_http_response","requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/assets-api-update-request"},"example":{"id":0}}}},"responses":{"200":{"description":"Successful HTTP response. Completion requirement: synchronous_http_response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/assets-api-update-response"},"example":{"asset":{"id":0,"workspace_id":"11111111-1111-4111-8111-111111111111","user_id":"11111111-1111-4111-8111-111111111111","asset_type":"text","asset_url":null,"title":null,"description":null,"tags":null,"metadata":null,"created_at":"example"}}}}},"default":{"description":"Check the HTTP status and error body. Validation errors can use a different format from handler errors. Keep the request ID, and check the existing result before retrying a write whose outcome is uncertain."}}}},"/assets-api/upload/complete":{"post":{"operationId":"assets-api-upload-complete","summary":"Complete an asset upload","description":"Complete registration of the uploaded Workspace media object using its signed object identity and idempotency key. Examples use fictional values checked against the schemas. See the linked reference for permissions and how to confirm the result.","tags":["assets"],"externalDocs":{"url":"https://sosoapi.ai/docs/api/assets-api-upload-complete"},"security":[{"bearerAuth":[]}],"x-sosoapi-authorization":{"public":false,"human_jwt":true,"delegated_oauth":true,"personal_access_token":true,"account_level":false,"all_workspace_consent_required":false,"minimum_workspace_role":"editor"},"x-sosoapi-cli-callable":true,"x-sosoapi-capability":"agent:operate","x-sosoapi-completion-truth":"synchronous_http_response","requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/assets-api-upload-complete-request"},"example":{"workspace_id":"11111111-1111-4111-8111-111111111111","asset_type":"image","object_key":"workspaces/11111111-1111-4111-8111-111111111111/image/example.png","content_sha256":"aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa","idempotency_key":"example-upload-0001"}}}},"responses":{"200":{"description":"Successful HTTP response. Completion requirement: synchronous_http_response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/assets-api-upload-complete-response"},"example":{"asset":{"id":0,"workspace_id":"11111111-1111-4111-8111-111111111111","user_id":"11111111-1111-4111-8111-111111111111","asset_type":"text","asset_url":null,"title":null,"description":null,"tags":null,"metadata":null,"created_at":"example"},"deduped":false}}}},"default":{"description":"Check the HTTP status and error body. Validation errors can use a different format from handler errors. Keep the request ID, and check the existing result before retrying a write whose outcome is uncertain."}}}},"/assets-api/upload/sign":{"post":{"operationId":"assets-api-upload-sign","summary":"Sign an asset upload","description":"Request a signed upload URL for the intended Workspace media object. Upload the bytes before completing registration. Examples use fictional values checked against the schemas. See the linked reference for permissions and how to confirm the result.","tags":["assets"],"externalDocs":{"url":"https://sosoapi.ai/docs/api/assets-api-upload-sign"},"security":[{"bearerAuth":[]}],"x-sosoapi-authorization":{"public":false,"human_jwt":true,"delegated_oauth":true,"personal_access_token":true,"account_level":false,"all_workspace_consent_required":false,"minimum_workspace_role":"editor"},"x-sosoapi-cli-callable":true,"x-sosoapi-capability":"agent:operate","x-sosoapi-completion-truth":"synchronous_http_response","requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/assets-api-upload-sign-request"},"example":{"workspace_id":"11111111-1111-4111-8111-111111111111","asset_type":"image","filename":"example.png","content_type":"image/png","byte_size":1,"content_sha256":"aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa"}}}},"responses":{"200":{"description":"Successful HTTP response. Completion requirement: synchronous_http_response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/assets-api-upload-sign-response"},"example":{"object_key":"example","public_url":"https://example.com/media.png","signed_url":"https://example.com/media.png","upload_headers":{"Content-Type":"example","x-amz-checksum-sha256":"example"},"expires_seconds":1}}}},"default":{"description":"Check the HTTP status and error body. Validation errors can use a different format from handler errors. Keep the request ID, and check the existing result before retrying a write whose outcome is uncertain."}}}},"/identity-api/agent-auth/config":{"post":{"operationId":"identity-api-agent-auth-config","summary":"Agent authentication: config","description":"Agent authentication config protocol. Use the supported browser sign-in flow; never display credentials. Examples use fictional values checked against the schemas. See the linked reference for permissions and how to confirm the result.","tags":["authentication"],"externalDocs":{"url":"https://sosoapi.ai/docs/api/identity-api-agent-auth-config"},"security":[],"x-sosoapi-authorization":{"public":true,"human_jwt":false,"delegated_oauth":false,"personal_access_token":false,"account_level":false,"all_workspace_consent_required":false,"minimum_workspace_role":null},"x-sosoapi-cli-callable":false,"x-sosoapi-capability":"oauth-bootstrap","x-sosoapi-completion-truth":"not_agent_callable","requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/identity-api-agent-auth-config-request"},"example":{}}}},"responses":{"200":{"description":"Successful HTTP response. Completion requirement: not_agent_callable","content":{"application/json":{"schema":{"$ref":"#/components/schemas/identity-api-agent-auth-config-response"},"example":{"client_id":"example","client_name":"example","redirect_uri":"http://127.0.0.1:8789/oauth/callback","authorization_endpoint":"https://example.com/media.png","token_endpoint":"https://example.com/media.png","scopes":"example"}}}},"default":{"description":"Check the HTTP status and error body. Validation errors can use a different format from handler errors. Keep the request ID, and check the existing result before retrying a write whose outcome is uncertain."}}}},"/identity-api/agent-auth/request":{"post":{"operationId":"identity-api-agent-auth-request","summary":"Agent authentication: request","description":"Agent authentication request protocol. Use the supported browser sign-in flow; never display credentials. Examples use fictional values checked against the schemas. See the linked reference for permissions and how to confirm the result.","tags":["authentication"],"externalDocs":{"url":"https://sosoapi.ai/docs/api/identity-api-agent-auth-request"},"security":[{"bearerAuth":[]}],"x-sosoapi-authorization":{"public":false,"human_jwt":false,"delegated_oauth":true,"personal_access_token":false,"account_level":false,"all_workspace_consent_required":false,"minimum_workspace_role":null},"x-sosoapi-cli-callable":false,"x-sosoapi-capability":"oauth-bootstrap","x-sosoapi-completion-truth":"not_agent_callable","requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/identity-api-agent-auth-request-request"},"example":{"client_name":"example","device_name":"example","callback_uri":"http://127.0.0.1:8789/grant/callback","callback_state":"exampleaaaaaaaaaaaaaaaaaaaaaaaaa"}}}},"responses":{"200":{"description":"Successful HTTP response. Completion requirement: not_agent_callable","content":{"application/json":{"schema":{"$ref":"#/components/schemas/identity-api-agent-auth-request-response"},"example":{"request_id":"11111111-1111-4111-8111-111111111111","approval_url":"https://example.com/media.png","expires_in":1}}}},"default":{"description":"Check the HTTP status and error body. Validation errors can use a different format from handler errors. Keep the request ID, and check the existing result before retrying a write whose outcome is uncertain."}}}},"/identity-api/agent-auth/revoke-current":{"post":{"operationId":"identity-api-agent-auth-revoke-current","summary":"Agent authentication: revoke-current","description":"Agent authentication revoke-current protocol. Use the supported browser sign-in flow; never display credentials. Examples use fictional values checked against the schemas. See the linked reference for permissions and how to confirm the result.","tags":["authentication"],"externalDocs":{"url":"https://sosoapi.ai/docs/api/identity-api-agent-auth-revoke-current"},"security":[{"bearerAuth":[]}],"x-sosoapi-authorization":{"public":false,"human_jwt":false,"delegated_oauth":true,"personal_access_token":false,"account_level":false,"all_workspace_consent_required":false,"minimum_workspace_role":null},"x-sosoapi-cli-callable":false,"x-sosoapi-capability":"oauth-bootstrap","x-sosoapi-completion-truth":"not_agent_callable","requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/identity-api-agent-auth-revoke-current-request"},"example":{}}}},"responses":{"200":{"description":"Successful HTTP response. Completion requirement: not_agent_callable","content":{"application/json":{"schema":{"$ref":"#/components/schemas/identity-api-agent-auth-revoke-current-response"},"example":{"ok":true}}}},"default":{"description":"Check the HTTP status and error body. Validation errors can use a different format from handler errors. Keep the request ID, and check the existing result before retrying a write whose outcome is uncertain."}}}},"/identity-api/agent-auth/session":{"post":{"operationId":"identity-api-agent-auth-session","summary":"Agent authentication: session","description":"Agent authentication session protocol. Use the supported browser sign-in flow; never display credentials. Examples use fictional values checked against the schemas. See the linked reference for permissions and how to confirm the result.","tags":["authentication"],"externalDocs":{"url":"https://sosoapi.ai/docs/api/identity-api-agent-auth-session"},"security":[{"bearerAuth":[]}],"x-sosoapi-authorization":{"public":false,"human_jwt":false,"delegated_oauth":true,"personal_access_token":false,"account_level":false,"all_workspace_consent_required":false,"minimum_workspace_role":null},"x-sosoapi-cli-callable":false,"x-sosoapi-capability":"oauth-bootstrap","x-sosoapi-completion-truth":"not_agent_callable","requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/identity-api-agent-auth-session-request"},"example":{}}}},"responses":{"200":{"description":"Successful HTTP response. Completion requirement: not_agent_callable","content":{"application/json":{"schema":{"$ref":"#/components/schemas/identity-api-agent-auth-session-response"},"example":{"grant_status":"active"}}}},"default":{"description":"Check the HTTP status and error body. Validation errors can use a different format from handler errors. Keep the request ID, and check the existing result before retrying a write whose outcome is uncertain."}}}},"/community-engagement-api/actions/apply":{"post":{"operationId":"community-engagement-api-actions-apply","summary":"Apply community action","description":"Apply a prepared action; inspect action status for terminal truth. Examples use fictional values checked against the schemas. See the linked reference for permissions and how to confirm the result.","tags":["community_engagement"],"externalDocs":{"url":"https://sosoapi.ai/docs/api/community-engagement-api-actions-apply"},"security":[{"bearerAuth":[]}],"x-sosoapi-authorization":{"public":false,"human_jwt":true,"delegated_oauth":true,"personal_access_token":true,"account_level":false,"all_workspace_consent_required":false,"minimum_workspace_role":"reviewer"},"x-sosoapi-cli-callable":true,"x-sosoapi-capability":"agent:engage","x-sosoapi-completion-truth":"terminal provider receipt","requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/community-engagement-api-actions-apply-request"},"example":{"workspace_id":"11111111-1111-4111-8111-111111111111","prepare_token":"11111111-1111-4111-8111-111111111111"}}}},"responses":{"200":{"description":"Successful HTTP response. Completion requirement: terminal provider receipt","content":{"application/json":{"schema":{"$ref":"#/components/schemas/community-engagement-api-actions-apply-response"},"example":{"contract_version":"community-engagement/v1","action":{"id":"11111111-1111-4111-8111-111111111111","workspace_id":"11111111-1111-4111-8111-111111111111","social_account_id":"11111111-1111-4111-8111-111111111111","social_post_id":"11111111-1111-4111-8111-111111111111","social_comment_id":"11111111-1111-4111-8111-111111111111","platform":"facebook","provider_post_id":"example","provider_comment_id":"example","action":"reply","desired_hidden":null,"draft_sha256":"aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa","idempotency_key":"11111111-1111-4111-8111-111111111111","status":"queued","attempt_count":0,"provider_evidence":{},"created_at":"2099-01-15T09:00:00Z","updated_at":"2099-01-15T09:00:00Z","terminal_at":null}}}}},"default":{"description":"Check the HTTP status and error body. Validation errors can use a different format from handler errors. Keep the request ID, and check the existing result before retrying a write whose outcome is uncertain."}}}},"/community-engagement-api/actions/prepare":{"post":{"operationId":"community-engagement-api-actions-prepare","summary":"Prepare community action","description":"Prepare a terminal community action. Examples use fictional values checked against the schemas. See the linked reference for permissions and how to confirm the result.","tags":["community_engagement"],"externalDocs":{"url":"https://sosoapi.ai/docs/api/community-engagement-api-actions-prepare"},"security":[{"bearerAuth":[]}],"x-sosoapi-authorization":{"public":false,"human_jwt":true,"delegated_oauth":true,"personal_access_token":true,"account_level":false,"all_workspace_consent_required":false,"minimum_workspace_role":"reviewer"},"x-sosoapi-cli-callable":true,"x-sosoapi-capability":"agent:engage","x-sosoapi-completion-truth":"synchronous_http_response","requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/community-engagement-api-actions-prepare-request"},"example":{"workspace_id":"11111111-1111-4111-8111-111111111111","review_id":"11111111-1111-4111-8111-111111111111","expected_review_version":1,"action":"reply","idempotency_key":"11111111-1111-4111-8111-111111111111","reply_draft":"Thank you for the feedback. Our team will follow up."}}}},"responses":{"200":{"description":"Successful HTTP response. Completion requirement: synchronous_http_response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/community-engagement-api-actions-prepare-response"},"example":{"contract_version":"community-engagement/v1","prepared":{"prepare_token":"11111111-1111-4111-8111-111111111111","expires_at":"2099-01-15T09:00:00Z","binding":{"workspace_id":"11111111-1111-4111-8111-111111111111","social_account_id":"11111111-1111-4111-8111-111111111111","social_post_id":"11111111-1111-4111-8111-111111111111","social_comment_id":"11111111-1111-4111-8111-111111111111","platform":"facebook","provider_post_id":"example","provider_comment_id":"example","action":"reply","desired_hidden":null,"draft_sha256":"aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa","idempotency_key":"11111111-1111-4111-8111-111111111111"}}}}}},"default":{"description":"Check the HTTP status and error body. Validation errors can use a different format from handler errors. Keep the request ID, and check the existing result before retrying a write whose outcome is uncertain."}}}},"/community-engagement-api/actions/status":{"post":{"operationId":"community-engagement-api-actions-status","summary":"Get community action status","description":"Read terminal action receipt; enqueue is not success. Examples use fictional values checked against the schemas. See the linked reference for permissions and how to confirm the result.","tags":["community_engagement"],"externalDocs":{"url":"https://sosoapi.ai/docs/api/community-engagement-api-actions-status"},"security":[{"bearerAuth":[]}],"x-sosoapi-authorization":{"public":false,"human_jwt":true,"delegated_oauth":true,"personal_access_token":true,"account_level":false,"all_workspace_consent_required":false,"minimum_workspace_role":"viewer"},"x-sosoapi-cli-callable":true,"x-sosoapi-capability":"agent:engage","x-sosoapi-completion-truth":"terminal provider receipt","requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/community-engagement-api-actions-status-request"},"example":{"workspace_id":"11111111-1111-4111-8111-111111111111","action_id":"11111111-1111-4111-8111-111111111111"}}}},"responses":{"200":{"description":"Successful HTTP response. Completion requirement: terminal provider receipt","content":{"application/json":{"schema":{"$ref":"#/components/schemas/community-engagement-api-actions-status-response"},"example":{"contract_version":"community-engagement/v1","action":{"id":"11111111-1111-4111-8111-111111111111","workspace_id":"11111111-1111-4111-8111-111111111111","social_account_id":"11111111-1111-4111-8111-111111111111","social_post_id":"11111111-1111-4111-8111-111111111111","social_comment_id":"11111111-1111-4111-8111-111111111111","platform":"facebook","provider_post_id":"example","provider_comment_id":"example","action":"reply","desired_hidden":null,"draft_sha256":"aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa","idempotency_key":"11111111-1111-4111-8111-111111111111","status":"queued","attempt_count":0,"provider_evidence":{},"created_at":"2099-01-15T09:00:00Z","updated_at":"2099-01-15T09:00:00Z","terminal_at":null},"receipt":null}}}},"default":{"description":"Check the HTTP status and error body. Validation errors can use a different format from handler errors. Keep the request ID, and check the existing result before retrying a write whose outcome is uncertain."}}}},"/community-engagement-api/capabilities":{"post":{"operationId":"community-engagement-api-capabilities","summary":"Get community capabilities","description":"Read Community Engagement capability facts. Examples use fictional values checked against the schemas. See the linked reference for permissions and how to confirm the result.","tags":["community_engagement"],"externalDocs":{"url":"https://sosoapi.ai/docs/api/community-engagement-api-capabilities"},"security":[{"bearerAuth":[]}],"x-sosoapi-authorization":{"public":false,"human_jwt":true,"delegated_oauth":true,"personal_access_token":true,"account_level":false,"all_workspace_consent_required":false,"minimum_workspace_role":"viewer"},"x-sosoapi-cli-callable":true,"x-sosoapi-capability":"agent:engage","x-sosoapi-completion-truth":"synchronous_http_response","requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/community-engagement-api-capabilities-request"},"example":{"workspace_id":"11111111-1111-4111-8111-111111111111"}}}},"responses":{"200":{"description":"Successful HTTP response. Completion requirement: synchronous_http_response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/community-engagement-api-capabilities-response"},"example":{"contract_version":"community-engagement/v1","data":[]}}}},"default":{"description":"Check the HTTP status and error body. Validation errors can use a different format from handler errors. Keep the request ID, and check the existing result before retrying a write whose outcome is uncertain."}}}},"/community-engagement-api/comments/create":{"post":{"operationId":"community-engagement-api-comments-create","summary":"Create community comment","description":"Queue one exact comment against a canonical post or comment target; status is not provider success. Examples use fictional values checked against the schemas. See the linked reference for permissions and how to confirm the result.","tags":["community_engagement"],"externalDocs":{"url":"https://sosoapi.ai/docs/api/community-engagement-api-comments-create"},"security":[{"bearerAuth":[]}],"x-sosoapi-authorization":{"public":false,"human_jwt":true,"delegated_oauth":true,"personal_access_token":true,"account_level":false,"all_workspace_consent_required":false,"minimum_workspace_role":"editor"},"x-sosoapi-cli-callable":true,"x-sosoapi-capability":"agent:engage","x-sosoapi-completion-truth":"terminal provider receipt","requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/community-engagement-api-comments-create-request"},"example":{"workspace_id":"11111111-1111-4111-8111-111111111111","social_account_id":"11111111-1111-4111-8111-111111111111","target":{"kind":"post","social_post_id":"11111111-1111-4111-8111-111111111111"},"message":"example","idempotency_key":"11111111-1111-4111-8111-111111111111"}}}},"responses":{"200":{"description":"Successful HTTP response. Completion requirement: terminal provider receipt","content":{"application/json":{"schema":{"$ref":"#/components/schemas/community-engagement-api-comments-create-response"},"example":{"contract_version":"community-engagement/v1","replayed":false,"action":{"action_id":"11111111-1111-4111-8111-111111111111","workspace_id":"11111111-1111-4111-8111-111111111111","social_account_id":"11111111-1111-4111-8111-111111111111","target":{"kind":"post","social_post_id":"11111111-1111-4111-8111-111111111111"},"content_sha256":"aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa","idempotency_key":"11111111-1111-4111-8111-111111111111","status":"queued","poll_after_ms":0}}}}},"202":{"description":"Successful HTTP response. Completion requirement: terminal provider receipt","content":{"application/json":{"schema":{"$ref":"#/components/schemas/community-engagement-api-comments-create-response"},"example":{"contract_version":"community-engagement/v1","replayed":false,"action":{"action_id":"11111111-1111-4111-8111-111111111111","workspace_id":"11111111-1111-4111-8111-111111111111","social_account_id":"11111111-1111-4111-8111-111111111111","target":{"kind":"post","social_post_id":"11111111-1111-4111-8111-111111111111"},"content_sha256":"aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa","idempotency_key":"11111111-1111-4111-8111-111111111111","status":"queued","poll_after_ms":0}}}}},"default":{"description":"Check the HTTP status and error body. Validation errors can use a different format from handler errors. Keep the request ID, and check the existing result before retrying a write whose outcome is uncertain."}}}},"/community-engagement-api/comments/outcome":{"post":{"operationId":"community-engagement-api-comments-outcome","summary":"Get comment delivery outcome","description":"Read confirmed delivery, recovery lineage, pending verification and unresolved follow-up. Examples use fictional values checked against the schemas. See the linked reference for permissions and how to confirm the result.","tags":["community_engagement"],"externalDocs":{"url":"https://sosoapi.ai/docs/api/community-engagement-api-comments-outcome"},"security":[{"bearerAuth":[]}],"x-sosoapi-authorization":{"public":false,"human_jwt":true,"delegated_oauth":true,"personal_access_token":true,"account_level":false,"all_workspace_consent_required":false,"minimum_workspace_role":"viewer"},"x-sosoapi-cli-callable":true,"x-sosoapi-capability":"agent:engage","x-sosoapi-completion-truth":"domain delivery resolution","requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/community-engagement-api-comments-outcome-request"},"example":{"workspace_id":"11111111-1111-4111-8111-111111111111","action_id":"11111111-1111-4111-8111-111111111111"}}}},"responses":{"200":{"description":"Successful HTTP response. Completion requirement: domain delivery resolution","content":{"application/json":{"schema":{"$ref":"#/components/schemas/community-engagement-api-comments-outcome-response"},"example":{"contract_version":"community-engagement/v1","action_id":"11111111-1111-4111-8111-111111111111","status":"queued","execution_stage":"execute","verification_count":0,"verification_evidence":{},"delivery_outcome":"confirmed","follow_up_required":false,"resolution":null}}}},"default":{"description":"Check the HTTP status and error body. Validation errors can use a different format from handler errors. Keep the request ID, and check the existing result before retrying a write whose outcome is uncertain."}}}},"/community-engagement-api/comments/reconcile":{"post":{"operationId":"community-engagement-api-comments-reconcile","summary":"Reconcile comment delivery outcome","description":"Verify an ambiguous Facebook delivery without resending, or link one confirmed exact replacement. Inspect outcome for terminal proof. Examples use fictional values checked against the schemas. See the linked reference for permissions and how to confirm the result.","tags":["community_engagement"],"externalDocs":{"url":"https://sosoapi.ai/docs/api/community-engagement-api-comments-reconcile"},"security":[{"bearerAuth":[]}],"x-sosoapi-authorization":{"public":false,"human_jwt":true,"delegated_oauth":true,"personal_access_token":true,"account_level":false,"all_workspace_consent_required":false,"minimum_workspace_role":"editor"},"x-sosoapi-cli-callable":true,"x-sosoapi-capability":"agent:engage","x-sosoapi-completion-truth":"domain delivery resolution","requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/community-engagement-api-comments-reconcile-request"},"example":{"workspace_id":"11111111-1111-4111-8111-111111111111","action_id":"11111111-1111-4111-8111-111111111111","idempotency_key":"11111111-1111-4111-8111-111111111111"}}}},"responses":{"200":{"description":"Successful HTTP response. Completion requirement: domain delivery resolution","content":{"application/json":{"schema":{"$ref":"#/components/schemas/community-engagement-api-comments-reconcile-response"},"example":{"contract_version":"community-engagement/v1","action_id":"11111111-1111-4111-8111-111111111111","status":"queued","execution_stage":"execute","verification_count":0,"verification_evidence":{},"delivery_outcome":"confirmed","follow_up_required":false,"resolution":null}}}},"default":{"description":"Check the HTTP status and error body. Validation errors can use a different format from handler errors. Keep the request ID, and check the existing result before retrying a write whose outcome is uncertain."}}}},"/community-engagement-api/comments/status":{"post":{"operationId":"community-engagement-api-comments-status","summary":"Get community comment status","description":"Read the sanitized terminal receipt for a direct comment action. Examples use fictional values checked against the schemas. See the linked reference for permissions and how to confirm the result.","tags":["community_engagement"],"externalDocs":{"url":"https://sosoapi.ai/docs/api/community-engagement-api-comments-status"},"security":[{"bearerAuth":[]}],"x-sosoapi-authorization":{"public":false,"human_jwt":true,"delegated_oauth":true,"personal_access_token":true,"account_level":false,"all_workspace_consent_required":false,"minimum_workspace_role":"viewer"},"x-sosoapi-cli-callable":true,"x-sosoapi-capability":"agent:engage","x-sosoapi-completion-truth":"terminal provider receipt","requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/community-engagement-api-comments-status-request"},"example":{"workspace_id":"11111111-1111-4111-8111-111111111111","action_id":"11111111-1111-4111-8111-111111111111"}}}},"responses":{"200":{"description":"Successful HTTP response. Completion requirement: terminal provider receipt","content":{"application/json":{"schema":{"$ref":"#/components/schemas/community-engagement-api-comments-status-response"},"example":{"contract_version":"community-engagement/v1","action":{"action_id":"11111111-1111-4111-8111-111111111111","workspace_id":"11111111-1111-4111-8111-111111111111","social_account_id":"11111111-1111-4111-8111-111111111111","target":{"kind":"post","social_post_id":"11111111-1111-4111-8111-111111111111"},"content_sha256":"aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa","idempotency_key":"11111111-1111-4111-8111-111111111111","status":"queued","attempt_count":0,"created_at":"2099-01-15T09:00:00Z","updated_at":"2099-01-15T09:00:00Z"},"receipt":null}}}},"default":{"description":"Check the HTTP status and error body. Validation errors can use a different format from handler errors. Keep the request ID, and check the existing result before retrying a write whose outcome is uncertain."}}}},"/community-engagement-api/operations/summary":{"post":{"operationId":"community-engagement-api-operations-summary","summary":"Get community summary","description":"Read Community Engagement operational summary. Examples use fictional values checked against the schemas. See the linked reference for permissions and how to confirm the result.","tags":["community_engagement"],"externalDocs":{"url":"https://sosoapi.ai/docs/api/community-engagement-api-operations-summary"},"security":[{"bearerAuth":[]}],"x-sosoapi-authorization":{"public":false,"human_jwt":true,"delegated_oauth":true,"personal_access_token":true,"account_level":false,"all_workspace_consent_required":false,"minimum_workspace_role":"viewer"},"x-sosoapi-cli-callable":true,"x-sosoapi-capability":"agent:engage","x-sosoapi-completion-truth":"synchronous_http_response","requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/community-engagement-api-operations-summary-request"},"example":{"workspace_id":"11111111-1111-4111-8111-111111111111"}}}},"responses":{"200":{"description":"Successful HTTP response. Completion requirement: synchronous_http_response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/community-engagement-api-operations-summary-response"},"example":{"contract_version":"community-engagement/v1","summary":{"lane_mode":"off","backlog":{},"response_time_seconds":{"median":null,"p95":null},"action_statuses":{},"provider_rate":{},"partial_failure_count":0,"known_common_dependencies":[]}}}}},"default":{"description":"Check the HTTP status and error body. Validation errors can use a different format from handler errors. Keep the request ID, and check the existing result before retrying a write whose outcome is uncertain."}}}},"/community-engagement-api/review-queue/query":{"post":{"operationId":"community-engagement-api-review-queue-query","summary":"Query community review queue","description":"Read reviewable comments; an empty page is not success. Examples use fictional values checked against the schemas. See the linked reference for permissions and how to confirm the result.","tags":["community_engagement"],"externalDocs":{"url":"https://sosoapi.ai/docs/api/community-engagement-api-review-queue-query"},"security":[{"bearerAuth":[]}],"x-sosoapi-authorization":{"public":false,"human_jwt":true,"delegated_oauth":true,"personal_access_token":true,"account_level":false,"all_workspace_consent_required":false,"minimum_workspace_role":"viewer"},"x-sosoapi-cli-callable":true,"x-sosoapi-capability":"agent:engage","x-sosoapi-completion-truth":"synchronous_http_response","requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/community-engagement-api-review-queue-query-request"},"example":{"workspace_id":"11111111-1111-4111-8111-111111111111"}}}},"responses":{"200":{"description":"Successful HTTP response. Completion requirement: synchronous_http_response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/community-engagement-api-review-queue-query-response"},"example":{"contract_version":"community-engagement/v1","cursor_contract_version":"community-engagement-keyset/v1","data":[],"next_cursor":null}}}},"default":{"description":"Check the HTTP status and error body. Validation errors can use a different format from handler errors. Keep the request ID, and check the existing result before retrying a write whose outcome is uncertain."}}}},"/community-engagement-api/reviews/submit":{"post":{"operationId":"community-engagement-api-reviews-submit","summary":"Submit community review","description":"Submit a new immutable review version. Examples use fictional values checked against the schemas. See the linked reference for permissions and how to confirm the result.","tags":["community_engagement"],"externalDocs":{"url":"https://sosoapi.ai/docs/api/community-engagement-api-reviews-submit"},"security":[{"bearerAuth":[]}],"x-sosoapi-authorization":{"public":false,"human_jwt":true,"delegated_oauth":true,"personal_access_token":true,"account_level":false,"all_workspace_consent_required":false,"minimum_workspace_role":"reviewer"},"x-sosoapi-cli-callable":true,"x-sosoapi-capability":"agent:engage","x-sosoapi-completion-truth":"synchronous_http_response","requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/community-engagement-api-reviews-submit-request"},"example":{"workspace_id":"11111111-1111-4111-8111-111111111111","social_account_id":"11111111-1111-4111-8111-111111111111","social_post_id":"11111111-1111-4111-8111-111111111111","social_comment_id":"11111111-1111-4111-8111-111111111111","confidence":0.9,"provenance":{"evidence_comment_observation_ids":["11111111-1111-4111-8111-111111111111"],"source":"upstream_agent"},"priority":1,"recommended_action":"reply","disposition":"open","idempotency_key":"11111111-1111-4111-8111-111111111111","reply_draft":"Thank you for the feedback. Our team will follow up."}}}},"responses":{"200":{"description":"Successful HTTP response. Completion requirement: synchronous_http_response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/community-engagement-api-reviews-submit-response"},"example":{"contract_version":"community-engagement/v1","review":{"id":"11111111-1111-4111-8111-111111111111","workspace_id":"11111111-1111-4111-8111-111111111111","social_account_id":"11111111-1111-4111-8111-111111111111","social_post_id":"11111111-1111-4111-8111-111111111111","social_comment_id":"11111111-1111-4111-8111-111111111111","platform":"facebook","review_version":1,"language":null,"audience_persona_hint":null,"confidence":0.9,"provenance":{"evidence_comment_observation_ids":["11111111-1111-4111-8111-111111111111"],"source":"upstream_agent"},"priority":1,"recommended_action":"reply","reply_draft":null,"disposition":"open","assignee_user_id":null,"created_at":"2099-01-15T09:00:00Z","updated_at":"2099-01-15T09:00:00Z"}}}}},"default":{"description":"Check the HTTP status and error body. Validation errors can use a different format from handler errors. Keep the request ID, and check the existing result before retrying a write whose outcome is uncertain."}}}},"/identity-api/agent/organization-context":{"post":{"operationId":"identity-api-agent-organization-context","summary":"Get Organization context","description":"Read live Organization, Workspace, and Channel authority. Examples use fictional values checked against the schemas. See the linked reference for permissions and how to confirm the result.","tags":["identity"],"externalDocs":{"url":"https://sosoapi.ai/docs/api/identity-api-agent-organization-context"},"security":[{"bearerAuth":[]}],"x-sosoapi-authorization":{"public":false,"human_jwt":true,"delegated_oauth":true,"personal_access_token":true,"account_level":false,"all_workspace_consent_required":false,"minimum_workspace_role":null},"x-sosoapi-cli-callable":true,"x-sosoapi-capability":"agent:operate","x-sosoapi-completion-truth":"synchronous_http_response","requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/identity-api-agent-organization-context-request"},"example":{}}}},"responses":{"200":{"description":"Successful HTTP response. Completion requirement: synchronous_http_response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/identity-api-agent-organization-context-response"},"example":{"contract_version":"organization-agent-context/v1","organizations":[]}}}},"default":{"description":"Check the HTTP status and error body. Validation errors can use a different format from handler errors. Keep the request ID, and check the existing result before retrying a write whose outcome is uncertain."}}}},"/identity-api/api-keys/create":{"post":{"operationId":"identity-api-api-keys-create","summary":"Create API key","description":"Create an API key with chosen capabilities and optional Workspace limits; the secret is returned once. An agent can grant only what its own authorization holds, for at most 30 days, and one authorization can hold at most 25 active keys (API_KEY_GRANT_KEY_LIMIT). Examples use fictional values checked against the schemas. See the linked reference for permissions and how to confirm the result.","tags":["identity"],"externalDocs":{"url":"https://sosoapi.ai/docs/api/identity-api-api-keys-create"},"security":[{"bearerAuth":[]}],"x-sosoapi-authorization":{"public":false,"human_jwt":true,"delegated_oauth":true,"personal_access_token":false,"account_level":true,"all_workspace_consent_required":true,"minimum_workspace_role":null},"x-sosoapi-cli-callable":true,"x-sosoapi-capability":"agent:manage_api_keys","x-sosoapi-completion-truth":"synchronous_http_response","requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/identity-api-api-keys-create-request"},"example":{"name":"example"}}}},"responses":{"200":{"description":"Successful HTTP response. Completion requirement: synchronous_http_response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/identity-api-api-keys-create-response"},"example":{"apiKey":{"id":"11111111-1111-4111-8111-111111111111","name":"example","last_4":"example","scopes":[],"created_at":"2099-01-15T09:00:00Z","expires_at":null,"last_used_at":null,"revoked_at":null,"status":"active","replaces":null,"replaced_by":[]},"secret":"example"}}}},"default":{"description":"Check the HTTP status and error body. Validation errors can use a different format from handler errors. Keep the request ID, and check the existing result before retrying a write whose outcome is uncertain."}}}},"/identity-api/api-keys/extend":{"post":{"operationId":"identity-api-api-keys-extend","summary":"Extend API key","description":"Extend an API key expiry to at most 365 days from now (30 for a key an agent created); a later time is refused with API_KEY_LIFETIME_EXCEEDS_CAP. The response carries the expiry applied. Examples use fictional values checked against the schemas. See the linked reference for permissions and how to confirm the result.","tags":["identity"],"externalDocs":{"url":"https://sosoapi.ai/docs/api/identity-api-api-keys-extend"},"security":[{"bearerAuth":[]}],"x-sosoapi-authorization":{"public":false,"human_jwt":true,"delegated_oauth":true,"personal_access_token":false,"account_level":true,"all_workspace_consent_required":true,"minimum_workspace_role":null},"x-sosoapi-cli-callable":true,"x-sosoapi-capability":"agent:manage_api_keys","x-sosoapi-completion-truth":"synchronous_http_response","requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/identity-api-api-keys-extend-request"},"example":{"id":"11111111-1111-4111-8111-111111111111","expires_at":"2099-01-15T09:00:00Z"}}}},"responses":{"200":{"description":"Successful HTTP response. Completion requirement: synchronous_http_response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/identity-api-api-keys-extend-response"},"example":{"apiKey":{"id":"11111111-1111-4111-8111-111111111111","name":"example","last_4":"example","scopes":[],"created_at":"2099-01-15T09:00:00Z","expires_at":null,"last_used_at":null,"revoked_at":null,"status":"active","replaces":null,"replaced_by":[]},"idempotent":false}}}},"default":{"description":"Check the HTTP status and error body. Validation errors can use a different format from handler errors. Keep the request ID, and check the existing result before retrying a write whose outcome is uncertain."}}}},"/identity-api/api-keys/list":{"post":{"operationId":"identity-api-api-keys-list","summary":"List API keys","description":"List API-key metadata without secrets; set include_authority for capabilities and Workspace limits. Examples use fictional values checked against the schemas. See the linked reference for permissions and how to confirm the result.","tags":["identity"],"externalDocs":{"url":"https://sosoapi.ai/docs/api/identity-api-api-keys-list"},"security":[{"bearerAuth":[]}],"x-sosoapi-authorization":{"public":false,"human_jwt":true,"delegated_oauth":true,"personal_access_token":false,"account_level":true,"all_workspace_consent_required":true,"minimum_workspace_role":null},"x-sosoapi-cli-callable":true,"x-sosoapi-capability":"agent:manage_api_keys","x-sosoapi-completion-truth":"synchronous_http_response","requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/identity-api-api-keys-list-request"},"example":{}}}},"responses":{"200":{"description":"Successful HTTP response. Completion requirement: synchronous_http_response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/identity-api-api-keys-list-response"},"example":{"apiKeys":[]}}}},"default":{"description":"Check the HTTP status and error body. Validation errors can use a different format from handler errors. Keep the request ID, and check the existing result before retrying a write whose outcome is uncertain."}}}},"/identity-api/api-keys/renew":{"post":{"operationId":"identity-api-api-keys-renew","summary":"Renew API key","description":"Create a non-destructive successor API key with the same capabilities and Workspace limits. Examples use fictional values checked against the schemas. See the linked reference for permissions and how to confirm the result.","tags":["identity"],"externalDocs":{"url":"https://sosoapi.ai/docs/api/identity-api-api-keys-renew"},"security":[{"bearerAuth":[]}],"x-sosoapi-authorization":{"public":false,"human_jwt":true,"delegated_oauth":true,"personal_access_token":false,"account_level":true,"all_workspace_consent_required":true,"minimum_workspace_role":null},"x-sosoapi-cli-callable":true,"x-sosoapi-capability":"agent:manage_api_keys","x-sosoapi-completion-truth":"synchronous_http_response","requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/identity-api-api-keys-renew-request"},"example":{"id":"11111111-1111-4111-8111-111111111111"}}}},"responses":{"201":{"description":"Successful HTTP response. Completion requirement: synchronous_http_response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/identity-api-api-keys-renew-response"},"example":{"apiKey":{"id":"11111111-1111-4111-8111-111111111111","name":"example","last_4":"example","scopes":[],"created_at":"2099-01-15T09:00:00Z","expires_at":null,"last_used_at":null,"revoked_at":null,"status":"active","replaces":null,"replaced_by":[]},"secret":"example"}}}},"default":{"description":"Check the HTTP status and error body. Validation errors can use a different format from handler errors. Keep the request ID, and check the existing result before retrying a write whose outcome is uncertain."}}}},"/identity-api/api-keys/revoke":{"post":{"operationId":"identity-api-api-keys-revoke","summary":"Revoke API key","description":"Revoke an API key. An agent can revoke only keys it created. Examples use fictional values checked against the schemas. See the linked reference for permissions and how to confirm the result.","tags":["identity"],"externalDocs":{"url":"https://sosoapi.ai/docs/api/identity-api-api-keys-revoke"},"security":[{"bearerAuth":[]}],"x-sosoapi-authorization":{"public":false,"human_jwt":true,"delegated_oauth":true,"personal_access_token":false,"account_level":true,"all_workspace_consent_required":true,"minimum_workspace_role":null},"x-sosoapi-cli-callable":true,"x-sosoapi-capability":"agent:manage_api_keys","x-sosoapi-completion-truth":"synchronous_http_response","requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/identity-api-api-keys-revoke-request"},"example":{"id":"11111111-1111-4111-8111-111111111111"}}}},"responses":{"200":{"description":"Successful HTTP response. Completion requirement: synchronous_http_response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/identity-api-api-keys-revoke-response"},"example":{"ok":true,"already_revoked":false}}}},"default":{"description":"Check the HTTP status and error body. Validation errors can use a different format from handler errors. Keep the request ID, and check the existing result before retrying a write whose outcome is uncertain."}}}},"/identity-api/billing/status":{"post":{"operationId":"identity-api-billing-status","summary":"Get billing status","description":"Read billing plan, entitlement, and quota facts. Examples use fictional values checked against the schemas. See the linked reference for permissions and how to confirm the result.","tags":["identity"],"externalDocs":{"url":"https://sosoapi.ai/docs/api/identity-api-billing-status"},"security":[{"bearerAuth":[]}],"x-sosoapi-authorization":{"public":false,"human_jwt":true,"delegated_oauth":true,"personal_access_token":true,"account_level":false,"all_workspace_consent_required":false,"minimum_workspace_role":null},"x-sosoapi-cli-callable":true,"x-sosoapi-capability":"agent:operate","x-sosoapi-completion-truth":"synchronous_http_response","requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/identity-api-billing-status-request"},"example":{}}}},"responses":{"200":{"description":"Successful HTTP response. Completion requirement: synchronous_http_response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/identity-api-billing-status-response"},"example":{"billing_account_id":"11111111-1111-4111-8111-111111111111","plan_key":"free","plan_version":1,"payment_state":"example","entitlement_source":"default","has_stripe_customer":false,"checkout_enabled":false,"cycle":{"period_start":"2099-01-15T09:00:00Z","period_end":"2099-01-15T09:00:00Z","reset_at":"2099-01-15T09:00:00Z"},"quota":{"successful_destination_publishes":{"limit":0,"reserved":0,"consumed":0,"remaining":0},"pending_scheduled_posts":{"limit":0,"active":0,"remaining":0},"connected_social_accounts":{"limit":0,"active":0,"remaining":0}},"history_days":1,"capabilities":{}}}}},"default":{"description":"Check the HTTP status and error body. Validation errors can use a different format from handler errors. Keep the request ID, and check the existing result before retrying a write whose outcome is uncertain."}}}},"/identity-api/commercial-access/status":{"post":{"operationId":"identity-api-commercial-access-status","summary":"Get commercial access","description":"Read Workspace commercial access facts. Examples use fictional values checked against the schemas. See the linked reference for permissions and how to confirm the result.","tags":["identity"],"externalDocs":{"url":"https://sosoapi.ai/docs/api/identity-api-commercial-access-status"},"security":[{"bearerAuth":[]}],"x-sosoapi-authorization":{"public":false,"human_jwt":true,"delegated_oauth":true,"personal_access_token":true,"account_level":false,"all_workspace_consent_required":false,"minimum_workspace_role":null},"x-sosoapi-cli-callable":true,"x-sosoapi-capability":"agent:operate","x-sosoapi-completion-truth":"synchronous_http_response","requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/identity-api-commercial-access-status-request"},"example":{"workspace_id":"11111111-1111-4111-8111-111111111111"}}}},"responses":{"200":{"description":"Successful HTTP response. Completion requirement: synchronous_http_response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/identity-api-commercial-access-status-response"},"example":{"billing_account_id":"11111111-1111-4111-8111-111111111111","plan_key":"free","plan_version":1,"payment_state":"example","entitlement_source":"default","has_stripe_customer":false,"cycle":{"period_start":"2099-01-15T09:00:00Z","period_end":"2099-01-15T09:00:00Z","reset_at":"2099-01-15T09:00:00Z"},"quota":{"successful_destination_publishes":{"limit":0,"reserved":0,"consumed":0,"remaining":0},"pending_scheduled_posts":{"limit":0,"active":0,"remaining":0},"connected_social_accounts":{"limit":0,"active":0,"remaining":0}},"history_days":1,"capabilities":{},"actor_user_id":"11111111-1111-4111-8111-111111111111","workspace_id":"11111111-1111-4111-8111-111111111111","billing_account_kind":"personal","commercial_access_mode":"off"}}}},"default":{"description":"Check the HTTP status and error body. Validation errors can use a different format from handler errors. Keep the request ID, and check the existing result before retrying a write whose outcome is uncertain."}}}},"/identity-api/feedback/submit":{"post":{"operationId":"identity-api-feedback-submit","summary":"Submit feedback","description":"Submit product feedback with attribution. Examples use fictional values checked against the schemas. See the linked reference for permissions and how to confirm the result.","tags":["identity"],"externalDocs":{"url":"https://sosoapi.ai/docs/api/identity-api-feedback-submit"},"security":[{"bearerAuth":[]}],"x-sosoapi-authorization":{"public":false,"human_jwt":true,"delegated_oauth":true,"personal_access_token":true,"account_level":false,"all_workspace_consent_required":false,"minimum_workspace_role":null},"x-sosoapi-cli-callable":true,"x-sosoapi-capability":"agent:operate","x-sosoapi-completion-truth":"synchronous_http_response","requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/identity-api-feedback-submit-request"},"example":{"type":"bug","message":"example"}}}},"responses":{"200":{"description":"Successful HTTP response. Completion requirement: synchronous_http_response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/identity-api-feedback-submit-response"},"example":{"ok":true,"id":"11111111-1111-4111-8111-111111111111","created_at":"example"}}}},"default":{"description":"Check the HTTP status and error body. Validation errors can use a different format from handler errors. Keep the request ID, and check the existing result before retrying a write whose outcome is uncertain."}}}},"/identity-api/member/list":{"post":{"operationId":"identity-api-member-list","summary":"List Workspace members","description":"Read members and pending invites. Examples use fictional values checked against the schemas. See the linked reference for permissions and how to confirm the result.","tags":["identity"],"externalDocs":{"url":"https://sosoapi.ai/docs/api/identity-api-member-list"},"security":[{"bearerAuth":[]}],"x-sosoapi-authorization":{"public":false,"human_jwt":true,"delegated_oauth":true,"personal_access_token":true,"account_level":false,"all_workspace_consent_required":false,"minimum_workspace_role":null},"x-sosoapi-cli-callable":true,"x-sosoapi-capability":"agent:operate","x-sosoapi-completion-truth":"synchronous_http_response","requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/identity-api-member-list-request"},"example":{"workspace_id":"11111111-1111-4111-8111-111111111111"}}}},"responses":{"200":{"description":"Successful HTTP response. Completion requirement: synchronous_http_response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/identity-api-member-list-response"},"example":{"members":[],"pending_invites":[]}}}},"default":{"description":"Check the HTTP status and error body. Validation errors can use a different format from handler errors. Keep the request ID, and check the existing result before retrying a write whose outcome is uncertain."}}}},"/identity-api/organization/channels/list":{"post":{"operationId":"identity-api-organization-channels-list","summary":"List organization channels","description":"List channels and Workspace attachment state. Examples use fictional values checked against the schemas. See the linked reference for permissions and how to confirm the result.","tags":["identity"],"externalDocs":{"url":"https://sosoapi.ai/docs/api/identity-api-organization-channels-list"},"security":[{"bearerAuth":[]}],"x-sosoapi-authorization":{"public":false,"human_jwt":true,"delegated_oauth":true,"personal_access_token":true,"account_level":false,"all_workspace_consent_required":false,"minimum_workspace_role":null},"x-sosoapi-cli-callable":true,"x-sosoapi-capability":"agent:operate","x-sosoapi-completion-truth":"synchronous_http_response","requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/identity-api-organization-channels-list-request"},"example":{"organization_id":"11111111-1111-4111-8111-111111111111"}}}},"responses":{"200":{"description":"Successful HTTP response. Completion requirement: synchronous_http_response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/identity-api-organization-channels-list-response"},"example":{"channels":[]}}}},"default":{"description":"Check the HTTP status and error body. Validation errors can use a different format from handler errors. Keep the request ID, and check the existing result before retrying a write whose outcome is uncertain."}}}},"/identity-api/organization/channels/move/preview":{"post":{"operationId":"identity-api-organization-channels-move-preview","summary":"Preview channel move","description":"Preview blockers before moving a channel. Examples use fictional values checked against the schemas. See the linked reference for permissions and how to confirm the result.","tags":["identity"],"externalDocs":{"url":"https://sosoapi.ai/docs/api/identity-api-organization-channels-move-preview"},"security":[{"bearerAuth":[]}],"x-sosoapi-authorization":{"public":false,"human_jwt":true,"delegated_oauth":true,"personal_access_token":true,"account_level":false,"all_workspace_consent_required":false,"minimum_workspace_role":null},"x-sosoapi-cli-callable":true,"x-sosoapi-capability":"agent:operate","x-sosoapi-completion-truth":"synchronous_http_response","requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/identity-api-organization-channels-move-preview-request"},"example":{"organization_id":"11111111-1111-4111-8111-111111111111","channel_id":"11111111-1111-4111-8111-111111111111","target_workspace_id":"11111111-1111-4111-8111-111111111111"}}}},"responses":{"200":{"description":"Successful HTTP response. Completion requirement: synchronous_http_response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/identity-api-organization-channels-move-preview-response"},"example":{"channel_id":"11111111-1111-4111-8111-111111111111","source_workspace_id":null,"target_workspace_id":"11111111-1111-4111-8111-111111111111","operation_revision":0,"can_move":false,"blockers":[],"dependency_hash":"example"}}}},"default":{"description":"Check the HTTP status and error body. Validation errors can use a different format from handler errors. Keep the request ID, and check the existing result before retrying a write whose outcome is uncertain."}}}},"/identity-api/organization/connections/list":{"post":{"operationId":"identity-api-organization-connections-list","summary":"List organization connections","description":"Read organization provider connections. Examples use fictional values checked against the schemas. See the linked reference for permissions and how to confirm the result.","tags":["identity"],"externalDocs":{"url":"https://sosoapi.ai/docs/api/identity-api-organization-connections-list"},"security":[{"bearerAuth":[]}],"x-sosoapi-authorization":{"public":false,"human_jwt":true,"delegated_oauth":true,"personal_access_token":true,"account_level":false,"all_workspace_consent_required":false,"minimum_workspace_role":null},"x-sosoapi-cli-callable":true,"x-sosoapi-capability":"agent:operate","x-sosoapi-completion-truth":"synchronous_http_response","requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/identity-api-organization-connections-list-request"},"example":{"organization_id":"11111111-1111-4111-8111-111111111111"}}}},"responses":{"200":{"description":"Successful HTTP response. Completion requirement: synchronous_http_response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/identity-api-organization-connections-list-response"},"example":{"connections":[]}}}},"default":{"description":"Check the HTTP status and error body. Validation errors can use a different format from handler errors. Keep the request ID, and check the existing result before retrying a write whose outcome is uncertain."}}}},"/identity-api/organization/connections/review":{"post":{"operationId":"identity-api-organization-connections-review","summary":"Review organization connection","description":"Read the exact provider resources discovered for review. Examples use fictional values checked against the schemas. See the linked reference for permissions and how to confirm the result.","tags":["identity"],"externalDocs":{"url":"https://sosoapi.ai/docs/api/identity-api-organization-connections-review"},"security":[{"bearerAuth":[]}],"x-sosoapi-authorization":{"public":false,"human_jwt":true,"delegated_oauth":true,"personal_access_token":true,"account_level":false,"all_workspace_consent_required":false,"minimum_workspace_role":null},"x-sosoapi-cli-callable":true,"x-sosoapi-capability":"agent:operate","x-sosoapi-completion-truth":"synchronous_http_response","requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/identity-api-organization-connections-review-request"},"example":{"organization_id":"11111111-1111-4111-8111-111111111111","operation_id":"11111111-1111-4111-8111-111111111111"}}}},"responses":{"200":{"description":"Successful HTTP response. Completion requirement: synchronous_http_response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/identity-api-organization-connections-review-response"},"example":{"operation_id":"11111111-1111-4111-8111-111111111111","organization_id":"11111111-1111-4111-8111-111111111111","provider":"meta","status":"review_required","resources":[]}}}},"default":{"description":"Check the HTTP status and error body. Validation errors can use a different format from handler errors. Keep the request ID, and check the existing result before retrying a write whose outcome is uncertain."}}}},"/identity-api/organization/list":{"post":{"operationId":"identity-api-organization-list","summary":"List organizations","description":"List organizations visible to the authenticated user. Examples use fictional values checked against the schemas. See the linked reference for permissions and how to confirm the result.","tags":["identity"],"externalDocs":{"url":"https://sosoapi.ai/docs/api/identity-api-organization-list"},"security":[{"bearerAuth":[]}],"x-sosoapi-authorization":{"public":false,"human_jwt":true,"delegated_oauth":true,"personal_access_token":true,"account_level":false,"all_workspace_consent_required":false,"minimum_workspace_role":null},"x-sosoapi-cli-callable":true,"x-sosoapi-capability":"agent:operate","x-sosoapi-completion-truth":"synchronous_http_response","requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/identity-api-organization-list-request"},"example":{}}}},"responses":{"200":{"description":"Successful HTTP response. Completion requirement: synchronous_http_response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/identity-api-organization-list-response"},"example":{"organizations":[]}}}},"default":{"description":"Check the HTTP status and error body. Validation errors can use a different format from handler errors. Keep the request ID, and check the existing result before retrying a write whose outcome is uncertain."}}}},"/identity-api/user/inbox/list":{"post":{"operationId":"identity-api-user-inbox-list","summary":"List inbox notifications","description":"Read the authenticated user inbox. Examples use fictional values checked against the schemas. See the linked reference for permissions and how to confirm the result.","tags":["identity"],"externalDocs":{"url":"https://sosoapi.ai/docs/api/identity-api-user-inbox-list"},"security":[{"bearerAuth":[]}],"x-sosoapi-authorization":{"public":false,"human_jwt":true,"delegated_oauth":true,"personal_access_token":true,"account_level":false,"all_workspace_consent_required":false,"minimum_workspace_role":null},"x-sosoapi-cli-callable":true,"x-sosoapi-capability":"agent:operate","x-sosoapi-completion-truth":"synchronous_http_response","requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/identity-api-user-inbox-list-request"},"example":{}}}},"responses":{"200":{"description":"Successful HTTP response. Completion requirement: synchronous_http_response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/identity-api-user-inbox-list-response"},"example":{"notifications":[]}}}},"default":{"description":"Check the HTTP status and error body. Validation errors can use a different format from handler errors. Keep the request ID, and check the existing result before retrying a write whose outcome is uncertain."}}}},"/identity-api/user/notifications/get":{"post":{"operationId":"identity-api-user-notifications-get","summary":"Get notification preferences","description":"Read notification delivery preferences. Examples use fictional values checked against the schemas. See the linked reference for permissions and how to confirm the result.","tags":["identity"],"externalDocs":{"url":"https://sosoapi.ai/docs/api/identity-api-user-notifications-get"},"security":[{"bearerAuth":[]}],"x-sosoapi-authorization":{"public":false,"human_jwt":true,"delegated_oauth":true,"personal_access_token":true,"account_level":false,"all_workspace_consent_required":false,"minimum_workspace_role":null},"x-sosoapi-cli-callable":true,"x-sosoapi-capability":"agent:operate","x-sosoapi-completion-truth":"synchronous_http_response","requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/identity-api-user-notifications-get-request"},"example":{}}}},"responses":{"200":{"description":"Successful HTTP response. Completion requirement: synchronous_http_response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/identity-api-user-notifications-get-response"},"example":{"prefs":{"email_post_failed":false}}}}},"default":{"description":"Check the HTTP status and error body. Validation errors can use a different format from handler errors. Keep the request ID, and check the existing result before retrying a write whose outcome is uncertain."}}}},"/identity-api/user/notifications/update":{"post":{"operationId":"identity-api-user-notifications-update","summary":"Update notification preferences","description":"Update notification delivery preferences. Examples use fictional values checked against the schemas. See the linked reference for permissions and how to confirm the result.","tags":["identity"],"externalDocs":{"url":"https://sosoapi.ai/docs/api/identity-api-user-notifications-update"},"security":[{"bearerAuth":[]}],"x-sosoapi-authorization":{"public":false,"human_jwt":true,"delegated_oauth":true,"personal_access_token":true,"account_level":false,"all_workspace_consent_required":false,"minimum_workspace_role":null},"x-sosoapi-cli-callable":true,"x-sosoapi-capability":"agent:operate","x-sosoapi-completion-truth":"synchronous_http_response","requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/identity-api-user-notifications-update-request"},"example":{}}}},"responses":{"200":{"description":"Successful HTTP response. Completion requirement: synchronous_http_response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/identity-api-user-notifications-update-response"},"example":{"prefs":{"email_post_failed":false}}}}},"default":{"description":"Check the HTTP status and error body. Validation errors can use a different format from handler errors. Keep the request ID, and check the existing result before retrying a write whose outcome is uncertain."}}}},"/identity-api/user/profile/get":{"post":{"operationId":"identity-api-user-profile-get","summary":"Get user profile","description":"Read the authenticated user profile. Examples use fictional values checked against the schemas. See the linked reference for permissions and how to confirm the result.","tags":["identity"],"externalDocs":{"url":"https://sosoapi.ai/docs/api/identity-api-user-profile-get"},"security":[{"bearerAuth":[]}],"x-sosoapi-authorization":{"public":false,"human_jwt":true,"delegated_oauth":true,"personal_access_token":true,"account_level":false,"all_workspace_consent_required":false,"minimum_workspace_role":null},"x-sosoapi-cli-callable":true,"x-sosoapi-capability":"agent:operate","x-sosoapi-completion-truth":"synchronous_http_response","requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/identity-api-user-profile-get-request"},"example":{}}}},"responses":{"200":{"description":"Successful HTTP response. Completion requirement: synchronous_http_response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/identity-api-user-profile-get-response"},"example":{"action":"get","profile":null}}}},"default":{"description":"Check the HTTP status and error body. Validation errors can use a different format from handler errors. Keep the request ID, and check the existing result before retrying a write whose outcome is uncertain."}}}},"/identity-api/user/profile/sign-avatar-url":{"post":{"operationId":"identity-api-user-profile-sign-avatar-url","summary":"Sign avatar upload","description":"Get a signed avatar upload URL. Examples use fictional values checked against the schemas. See the linked reference for permissions and how to confirm the result.","tags":["identity"],"externalDocs":{"url":"https://sosoapi.ai/docs/api/identity-api-user-profile-sign-avatar-url"},"security":[{"bearerAuth":[]}],"x-sosoapi-authorization":{"public":false,"human_jwt":true,"delegated_oauth":true,"personal_access_token":true,"account_level":false,"all_workspace_consent_required":false,"minimum_workspace_role":null},"x-sosoapi-cli-callable":true,"x-sosoapi-capability":"agent:operate","x-sosoapi-completion-truth":"synchronous_http_response","requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/identity-api-user-profile-sign-avatar-url-request"},"example":{"filename":"example.png","content_type":"image/png"}}}},"responses":{"200":{"description":"Successful HTTP response. Completion requirement: synchronous_http_response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/identity-api-user-profile-sign-avatar-url-response"},"example":{"action":"sign-avatar-url","path":"example","signed_url":"https://example.com/media.png"}}}},"default":{"description":"Check the HTTP status and error body. Validation errors can use a different format from handler errors. Keep the request ID, and check the existing result before retrying a write whose outcome is uncertain."}}}},"/identity-api/user/profile/update":{"post":{"operationId":"identity-api-user-profile-update","summary":"Update user profile","description":"Update the authenticated user profile. Examples use fictional values checked against the schemas. See the linked reference for permissions and how to confirm the result.","tags":["identity"],"externalDocs":{"url":"https://sosoapi.ai/docs/api/identity-api-user-profile-update"},"security":[{"bearerAuth":[]}],"x-sosoapi-authorization":{"public":false,"human_jwt":true,"delegated_oauth":true,"personal_access_token":true,"account_level":false,"all_workspace_consent_required":false,"minimum_workspace_role":null},"x-sosoapi-cli-callable":true,"x-sosoapi-capability":"agent:operate","x-sosoapi-completion-truth":"synchronous_http_response","requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/identity-api-user-profile-update-request"},"example":{}}}},"responses":{"200":{"description":"Successful HTTP response. Completion requirement: synchronous_http_response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/identity-api-user-profile-update-response"},"example":{"action":"update","profile":{"user_id":"11111111-1111-4111-8111-111111111111","display_name":null,"timezone":null,"avatar_url":null,"theme":null,"created_at":null,"updated_at":null,"deletion_scheduled_at":null,"hard_delete_at":null}}}}},"default":{"description":"Check the HTTP status and error body. Validation errors can use a different format from handler errors. Keep the request ID, and check the existing result before retrying a write whose outcome is uncertain."}}}},"/identity-api/user/social-accounts/clear-block":{"post":{"operationId":"identity-api-user-social-accounts-clear-block","summary":"Clear social account block","description":"Clear an account cooldown without retrying a post. An agent credential is refused while the cooldown is still active or once the account reached its third cooldown; any caller can clear an account at most once every 10 minutes. Examples use fictional values checked against the schemas. See the linked reference for permissions and how to confirm the result.","tags":["identity"],"externalDocs":{"url":"https://sosoapi.ai/docs/api/identity-api-user-social-accounts-clear-block"},"security":[{"bearerAuth":[]}],"x-sosoapi-authorization":{"public":false,"human_jwt":true,"delegated_oauth":true,"personal_access_token":true,"account_level":false,"all_workspace_consent_required":false,"minimum_workspace_role":"editor"},"x-sosoapi-cli-callable":true,"x-sosoapi-capability":"agent:operate","x-sosoapi-completion-truth":"synchronous_http_response","requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/identity-api-user-social-accounts-clear-block-request"},"example":{"account_id":"11111111-1111-4111-8111-111111111111"}}}},"responses":{"200":{"description":"Successful HTTP response. Completion requirement: synchronous_http_response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/identity-api-user-social-accounts-clear-block-response"},"example":{"ok":true}}}},"default":{"description":"Check the HTTP status and error body. Validation errors can use a different format from handler errors. Keep the request ID, and check the existing result before retrying a write whose outcome is uncertain."}}}},"/identity-api/user/social-accounts/disconnect":{"post":{"operationId":"identity-api-user-social-accounts-disconnect","summary":"Disconnect social account","description":"Disconnect a Workspace social account. Examples use fictional values checked against the schemas. See the linked reference for permissions and how to confirm the result.","tags":["identity"],"externalDocs":{"url":"https://sosoapi.ai/docs/api/identity-api-user-social-accounts-disconnect"},"security":[{"bearerAuth":[]}],"x-sosoapi-authorization":{"public":false,"human_jwt":true,"delegated_oauth":true,"personal_access_token":true,"account_level":false,"all_workspace_consent_required":false,"minimum_workspace_role":"owner"},"x-sosoapi-cli-callable":true,"x-sosoapi-capability":"agent:operate","x-sosoapi-completion-truth":"synchronous_http_response","requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/identity-api-user-social-accounts-disconnect-request"},"example":{"account_id":"11111111-1111-4111-8111-111111111111"}}}},"responses":{"200":{"description":"Successful HTTP response. Completion requirement: synchronous_http_response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/identity-api-user-social-accounts-disconnect-response"},"example":{"ok":true}}}},"default":{"description":"Check the HTTP status and error body. Validation errors can use a different format from handler errors. Keep the request ID, and check the existing result before retrying a write whose outcome is uncertain."}}}},"/identity-api/user/social-accounts/list":{"post":{"operationId":"identity-api-user-social-accounts-list","summary":"List connected accounts","description":"List connected social accounts in a Workspace. Examples use fictional values checked against the schemas. See the linked reference for permissions and how to confirm the result.","tags":["identity"],"externalDocs":{"url":"https://sosoapi.ai/docs/api/identity-api-user-social-accounts-list"},"security":[{"bearerAuth":[]}],"x-sosoapi-authorization":{"public":false,"human_jwt":true,"delegated_oauth":true,"personal_access_token":true,"account_level":false,"all_workspace_consent_required":false,"minimum_workspace_role":null},"x-sosoapi-cli-callable":true,"x-sosoapi-capability":"agent:operate","x-sosoapi-completion-truth":"synchronous_http_response","requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/identity-api-user-social-accounts-list-request"},"example":{}}}},"responses":{"200":{"description":"Successful HTTP response. Completion requirement: synchronous_http_response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/identity-api-user-social-accounts-list-response"},"example":{"accounts":[]}}}},"default":{"description":"Check the HTTP status and error body. Validation errors can use a different format from handler errors. Keep the request ID, and check the existing result before retrying a write whose outcome is uncertain."}}}},"/identity-api/user/social-accounts/set-auto-sync":{"post":{"operationId":"identity-api-user-social-accounts-set-auto-sync","summary":"Set social account auto-sync","description":"Enable or disable account auto-sync. Examples use fictional values checked against the schemas. See the linked reference for permissions and how to confirm the result.","tags":["identity"],"externalDocs":{"url":"https://sosoapi.ai/docs/api/identity-api-user-social-accounts-set-auto-sync"},"security":[{"bearerAuth":[]}],"x-sosoapi-authorization":{"public":false,"human_jwt":true,"delegated_oauth":true,"personal_access_token":true,"account_level":false,"all_workspace_consent_required":false,"minimum_workspace_role":"editor"},"x-sosoapi-cli-callable":true,"x-sosoapi-capability":"agent:operate","x-sosoapi-completion-truth":"synchronous_http_response","requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/identity-api-user-social-accounts-set-auto-sync-request"},"example":{"account_id":"11111111-1111-4111-8111-111111111111","enabled":false}}}},"responses":{"200":{"description":"Successful HTTP response. Completion requirement: synchronous_http_response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/identity-api-user-social-accounts-set-auto-sync-response"},"example":{"ok":true,"enabled":false}}}},"default":{"description":"Check the HTTP status and error body. Validation errors can use a different format from handler errors. Keep the request ID, and check the existing result before retrying a write whose outcome is uncertain."}}}},"/identity-api/workspace/create":{"post":{"operationId":"identity-api-workspace-create","summary":"Create Workspace","description":"Create a Workspace in an Organization you own or administer. Pass organization_id when you belong to multiple Organizations. Examples use fictional values checked against the schemas. See the linked reference for permissions and how to confirm the result.","tags":["identity"],"externalDocs":{"url":"https://sosoapi.ai/docs/api/identity-api-workspace-create"},"security":[{"bearerAuth":[]}],"x-sosoapi-authorization":{"public":false,"human_jwt":true,"delegated_oauth":true,"personal_access_token":true,"account_level":false,"all_workspace_consent_required":false,"minimum_workspace_role":null},"x-sosoapi-cli-callable":true,"x-sosoapi-capability":"agent:operate","x-sosoapi-completion-truth":"synchronous_http_response","requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/identity-api-workspace-create-request"},"example":{"name":"example"}}}},"responses":{"200":{"description":"Successful HTTP response. Completion requirement: synchronous_http_response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/identity-api-workspace-create-response"},"example":{"workspace":{"id":"11111111-1111-4111-8111-111111111111","organization_id":"11111111-1111-4111-8111-111111111111","slug":"example","name":"example","created_at":"example"}}}}},"default":{"description":"Check the HTTP status and error body. Validation errors can use a different format from handler errors. Keep the request ID, and check the existing result before retrying a write whose outcome is uncertain."}}}},"/identity-api/workspace/list":{"post":{"operationId":"identity-api-workspace-list","summary":"Get Workspace context","description":"List Workspaces and the active Workspace. Examples use fictional values checked against the schemas. See the linked reference for permissions and how to confirm the result.","tags":["identity"],"externalDocs":{"url":"https://sosoapi.ai/docs/api/identity-api-workspace-list"},"security":[{"bearerAuth":[]}],"x-sosoapi-authorization":{"public":false,"human_jwt":true,"delegated_oauth":true,"personal_access_token":true,"account_level":false,"all_workspace_consent_required":false,"minimum_workspace_role":null},"x-sosoapi-cli-callable":true,"x-sosoapi-capability":"agent:operate","x-sosoapi-completion-truth":"synchronous_http_response","requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/identity-api-workspace-list-request"},"example":{}}}},"responses":{"200":{"description":"Successful HTTP response. Completion requirement: synchronous_http_response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/identity-api-workspace-list-response"},"example":{"active_workspace_id":null,"workspaces":[]}}}},"default":{"description":"Check the HTTP status and error body. Validation errors can use a different format from handler errors. Keep the request ID, and check the existing result before retrying a write whose outcome is uncertain."}}}},"/identity-api/workspace/update":{"post":{"operationId":"identity-api-workspace-update","summary":"Update Workspace","description":"Update Workspace name or slug. Examples use fictional values checked against the schemas. See the linked reference for permissions and how to confirm the result.","tags":["identity"],"externalDocs":{"url":"https://sosoapi.ai/docs/api/identity-api-workspace-update"},"security":[{"bearerAuth":[]}],"x-sosoapi-authorization":{"public":false,"human_jwt":true,"delegated_oauth":true,"personal_access_token":true,"account_level":false,"all_workspace_consent_required":false,"minimum_workspace_role":"owner"},"x-sosoapi-cli-callable":true,"x-sosoapi-capability":"agent:operate","x-sosoapi-completion-truth":"synchronous_http_response","requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/identity-api-workspace-update-request"},"example":{"workspace_id":"11111111-1111-4111-8111-111111111111"}}}},"responses":{"200":{"description":"Successful HTTP response. Completion requirement: synchronous_http_response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/identity-api-workspace-update-response"},"example":{"workspace":{"id":"11111111-1111-4111-8111-111111111111","slug":"example","name":"example"}}}}},"default":{"description":"Check the HTTP status and error body. Validation errors can use a different format from handler errors. Keep the request ID, and check the existing result before retrying a write whose outcome is uncertain."}}}},"/jobs-api/get":{"post":{"operationId":"jobs-api-get","summary":"Get job status","description":"Read one job status by ID. Examples use fictional values checked against the schemas. See the linked reference for permissions and how to confirm the result.","tags":["jobs"],"externalDocs":{"url":"https://sosoapi.ai/docs/api/jobs-api-get"},"security":[{"bearerAuth":[]}],"x-sosoapi-authorization":{"public":false,"human_jwt":true,"delegated_oauth":true,"personal_access_token":true,"account_level":false,"all_workspace_consent_required":false,"minimum_workspace_role":null},"x-sosoapi-cli-callable":true,"x-sosoapi-capability":"agent:operate","x-sosoapi-completion-truth":"synchronous_http_response","requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/jobs-api-get-request"},"example":{"job_id":"11111111-1111-4111-8111-111111111111"}}}},"responses":{"200":{"description":"Successful HTTP response. Completion requirement: synchronous_http_response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/jobs-api-get-response"},"example":{"id":"11111111-1111-4111-8111-111111111111","status":"example","job_type":"example","result_data":null,"error_message":null,"created_at":"example","updated_at":"example"}}}},"default":{"description":"Check the HTTP status and error body. Validation errors can use a different format from handler errors. Keep the request ID, and check the existing result before retrying a write whose outcome is uncertain."}}}},"/jobs-api/list":{"post":{"operationId":"jobs-api-list","summary":"List jobs","description":"Read recent jobs owned by the authenticated user. Examples use fictional values checked against the schemas. See the linked reference for permissions and how to confirm the result.","tags":["jobs"],"externalDocs":{"url":"https://sosoapi.ai/docs/api/jobs-api-list"},"security":[{"bearerAuth":[]}],"x-sosoapi-authorization":{"public":false,"human_jwt":true,"delegated_oauth":true,"personal_access_token":true,"account_level":false,"all_workspace_consent_required":false,"minimum_workspace_role":null},"x-sosoapi-cli-callable":true,"x-sosoapi-capability":"agent:operate","x-sosoapi-completion-truth":"synchronous_http_response","requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/jobs-api-list-request"},"example":{}}}},"responses":{"200":{"description":"Successful HTTP response. Completion requirement: synchronous_http_response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/jobs-api-list-response"},"example":{"jobs":[]}}}},"default":{"description":"Check the HTTP status and error body. Validation errors can use a different format from handler errors. Keep the request ID, and check the existing result before retrying a write whose outcome is uncertain."}}}},"/oauth-api/instagram/init":{"post":{"operationId":"oauth-api-instagram-init","summary":"Start Instagram OAuth","description":"Start provider consent and return the native authorization URL. Examples use fictional values checked against the schemas. See the linked reference for permissions and how to confirm the result.","tags":["oauth"],"externalDocs":{"url":"https://sosoapi.ai/docs/api/oauth-api-instagram-init"},"security":[{"bearerAuth":[]}],"x-sosoapi-authorization":{"public":false,"human_jwt":true,"delegated_oauth":true,"personal_access_token":true,"account_level":false,"all_workspace_consent_required":false,"minimum_workspace_role":"editor"},"x-sosoapi-cli-callable":true,"x-sosoapi-capability":"agent:operate","x-sosoapi-completion-truth":"synchronous_http_response","requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/oauth-api-instagram-init-request"},"example":{}}}},"responses":{"200":{"description":"Successful HTTP response. Completion requirement: synchronous_http_response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/oauth-api-instagram-init-response"},"example":{"authorize_url":"https://example.com/media.png"}}}},"default":{"description":"Check the HTTP status and error body. Validation errors can use a different format from handler errors. Keep the request ID, and check the existing result before retrying a write whose outcome is uncertain."}}}},"/oauth-api/instagram/refresh":{"post":{"operationId":"oauth-api-instagram-refresh","summary":"Refresh Instagram OAuth","description":"Refresh an Instagram connection. Examples use fictional values checked against the schemas. See the linked reference for permissions and how to confirm the result.","tags":["oauth"],"externalDocs":{"url":"https://sosoapi.ai/docs/api/oauth-api-instagram-refresh"},"security":[{"bearerAuth":[]}],"x-sosoapi-authorization":{"public":false,"human_jwt":true,"delegated_oauth":true,"personal_access_token":true,"account_level":false,"all_workspace_consent_required":false,"minimum_workspace_role":"editor"},"x-sosoapi-cli-callable":true,"x-sosoapi-capability":"agent:operate","x-sosoapi-completion-truth":"synchronous_http_response","requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/oauth-api-instagram-refresh-request"},"example":{}}}},"responses":{"200":{"description":"Successful HTTP response. Completion requirement: synchronous_http_response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/oauth-api-instagram-refresh-response"},"example":{"ok":true,"refreshed":false,"expires_at":null}}}},"default":{"description":"Check the HTTP status and error body. Validation errors can use a different format from handler errors. Keep the request ID, and check the existing result before retrying a write whose outcome is uncertain."}}}},"/oauth-api/meta/init":{"post":{"operationId":"oauth-api-meta-init","summary":"Start Meta OAuth","description":"Start provider consent and return the native authorization URL. Examples use fictional values checked against the schemas. See the linked reference for permissions and how to confirm the result.","tags":["oauth"],"externalDocs":{"url":"https://sosoapi.ai/docs/api/oauth-api-meta-init"},"security":[{"bearerAuth":[]}],"x-sosoapi-authorization":{"public":false,"human_jwt":true,"delegated_oauth":true,"personal_access_token":true,"account_level":false,"all_workspace_consent_required":false,"minimum_workspace_role":"editor"},"x-sosoapi-cli-callable":true,"x-sosoapi-capability":"agent:operate","x-sosoapi-completion-truth":"synchronous_http_response","requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/oauth-api-meta-init-request"},"example":{}}}},"responses":{"200":{"description":"Successful HTTP response. Completion requirement: synchronous_http_response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/oauth-api-meta-init-response"},"example":{"authorize_url":"https://example.com/media.png"}}}},"default":{"description":"Check the HTTP status and error body. Validation errors can use a different format from handler errors. Keep the request ID, and check the existing result before retrying a write whose outcome is uncertain."}}}},"/oauth-api/meta/refresh":{"post":{"operationId":"oauth-api-meta-refresh","summary":"Refresh Meta OAuth","description":"Refresh a Meta connection. Examples use fictional values checked against the schemas. See the linked reference for permissions and how to confirm the result.","tags":["oauth"],"externalDocs":{"url":"https://sosoapi.ai/docs/api/oauth-api-meta-refresh"},"security":[{"bearerAuth":[]}],"x-sosoapi-authorization":{"public":false,"human_jwt":true,"delegated_oauth":true,"personal_access_token":true,"account_level":false,"all_workspace_consent_required":false,"minimum_workspace_role":"editor"},"x-sosoapi-cli-callable":true,"x-sosoapi-capability":"agent:operate","x-sosoapi-completion-truth":"synchronous_http_response","requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/oauth-api-meta-refresh-request"},"example":{"social_account_id":"11111111-1111-4111-8111-111111111111"}}}},"responses":{"200":{"description":"Successful HTTP response. Completion requirement: synchronous_http_response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/oauth-api-meta-refresh-response"},"example":{"ok":true,"capability_verified":true}}}},"default":{"description":"Check the HTTP status and error body. Validation errors can use a different format from handler errors. Keep the request ID, and check the existing result before retrying a write whose outcome is uncertain."}}}},"/oauth-api/threads/check":{"post":{"operationId":"oauth-api-threads-check","summary":"Check Threads OAuth","description":"Read Threads connection diagnostics. Examples use fictional values checked against the schemas. See the linked reference for permissions and how to confirm the result.","tags":["oauth"],"externalDocs":{"url":"https://sosoapi.ai/docs/api/oauth-api-threads-check"},"security":[{"bearerAuth":[]}],"x-sosoapi-authorization":{"public":false,"human_jwt":true,"delegated_oauth":true,"personal_access_token":true,"account_level":false,"all_workspace_consent_required":false,"minimum_workspace_role":"viewer"},"x-sosoapi-cli-callable":true,"x-sosoapi-capability":"agent:operate","x-sosoapi-completion-truth":"synchronous_http_response","requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/oauth-api-threads-check-request"},"example":{"action":"check"}}}},"responses":{"200":{"description":"Successful HTTP response. Completion requirement: synchronous_http_response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/oauth-api-threads-check-response"},"example":{"connected":false,"expires_at":null,"scope":null,"can_refresh":false,"last_refreshed_at":null}}}},"default":{"description":"Check the HTTP status and error body. Validation errors can use a different format from handler errors. Keep the request ID, and check the existing result before retrying a write whose outcome is uncertain."}}}},"/oauth-api/threads/init":{"post":{"operationId":"oauth-api-threads-init","summary":"Start Threads OAuth","description":"Start provider consent and return the native authorization URL. Examples use fictional values checked against the schemas. See the linked reference for permissions and how to confirm the result.","tags":["oauth"],"externalDocs":{"url":"https://sosoapi.ai/docs/api/oauth-api-threads-init"},"security":[{"bearerAuth":[]}],"x-sosoapi-authorization":{"public":false,"human_jwt":true,"delegated_oauth":true,"personal_access_token":true,"account_level":false,"all_workspace_consent_required":false,"minimum_workspace_role":"editor"},"x-sosoapi-cli-callable":true,"x-sosoapi-capability":"agent:operate","x-sosoapi-completion-truth":"synchronous_http_response","requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/oauth-api-threads-init-request"},"example":{}}}},"responses":{"200":{"description":"Successful HTTP response. Completion requirement: synchronous_http_response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/oauth-api-threads-init-response"},"example":{"authorize_url":"https://example.com/media.png"}}}},"default":{"description":"Check the HTTP status and error body. Validation errors can use a different format from handler errors. Keep the request ID, and check the existing result before retrying a write whose outcome is uncertain."}}}},"/oauth-api/threads/refresh":{"post":{"operationId":"oauth-api-threads-refresh","summary":"Refresh Threads OAuth","description":"Refresh a Threads connection. Examples use fictional values checked against the schemas. See the linked reference for permissions and how to confirm the result.","tags":["oauth"],"externalDocs":{"url":"https://sosoapi.ai/docs/api/oauth-api-threads-refresh"},"security":[{"bearerAuth":[]}],"x-sosoapi-authorization":{"public":false,"human_jwt":true,"delegated_oauth":true,"personal_access_token":true,"account_level":false,"all_workspace_consent_required":false,"minimum_workspace_role":"editor"},"x-sosoapi-cli-callable":true,"x-sosoapi-capability":"agent:operate","x-sosoapi-completion-truth":"synchronous_http_response","requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/oauth-api-threads-refresh-request"},"example":{}}}},"responses":{"200":{"description":"Successful HTTP response. Completion requirement: synchronous_http_response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/oauth-api-threads-refresh-response"},"example":{"ok":true,"refreshed":false,"expires_at":null}}}},"default":{"description":"Check the HTTP status and error body. Validation errors can use a different format from handler errors. Keep the request ID, and check the existing result before retrying a write whose outcome is uncertain."}}}},"/oauth-api/youtube/init":{"post":{"operationId":"oauth-api-youtube-init","summary":"Start YouTube OAuth","description":"Start provider consent and return the native authorization URL. Examples use fictional values checked against the schemas. See the linked reference for permissions and how to confirm the result.","tags":["oauth"],"externalDocs":{"url":"https://sosoapi.ai/docs/api/oauth-api-youtube-init"},"security":[{"bearerAuth":[]}],"x-sosoapi-authorization":{"public":false,"human_jwt":true,"delegated_oauth":true,"personal_access_token":true,"account_level":false,"all_workspace_consent_required":false,"minimum_workspace_role":"editor"},"x-sosoapi-cli-callable":true,"x-sosoapi-capability":"agent:operate","x-sosoapi-completion-truth":"synchronous_http_response","requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/oauth-api-youtube-init-request"},"example":{}}}},"responses":{"200":{"description":"Successful HTTP response. Completion requirement: synchronous_http_response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/oauth-api-youtube-init-response"},"example":{"authorize_url":"https://example.com/media.png"}}}},"default":{"description":"Check the HTTP status and error body. Validation errors can use a different format from handler errors. Keep the request ID, and check the existing result before retrying a write whose outcome is uncertain."}}}},"/oauth-api/youtube/refresh":{"post":{"operationId":"oauth-api-youtube-refresh","summary":"Refresh YouTube OAuth","description":"Refresh a YouTube connection. Examples use fictional values checked against the schemas. See the linked reference for permissions and how to confirm the result.","tags":["oauth"],"externalDocs":{"url":"https://sosoapi.ai/docs/api/oauth-api-youtube-refresh"},"security":[{"bearerAuth":[]}],"x-sosoapi-authorization":{"public":false,"human_jwt":true,"delegated_oauth":true,"personal_access_token":true,"account_level":false,"all_workspace_consent_required":false,"minimum_workspace_role":"editor"},"x-sosoapi-cli-callable":true,"x-sosoapi-capability":"agent:operate","x-sosoapi-completion-truth":"synchronous_http_response","requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/oauth-api-youtube-refresh-request"},"example":{"social_account_id":"11111111-1111-4111-8111-111111111111"}}}},"responses":{"200":{"description":"Successful HTTP response. Completion requirement: synchronous_http_response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/oauth-api-youtube-refresh-response"},"example":{"ok":true,"expires_at":"example","capability_verified":true}}}},"default":{"description":"Check the HTTP status and error body. Validation errors can use a different format from handler errors. Keep the request ID, and check the existing result before retrying a write whose outcome is uncertain."}}}},"/studio-api/projects/account-defaults/get":{"post":{"operationId":"studio-api-projects-account-defaults-get","summary":"Get project account defaults","description":"Read project account defaults. Examples use fictional values checked against the schemas. See the linked reference for permissions and how to confirm the result.","tags":["project"],"externalDocs":{"url":"https://sosoapi.ai/docs/api/studio-api-projects-account-defaults-get"},"security":[{"bearerAuth":[]}],"x-sosoapi-authorization":{"public":false,"human_jwt":true,"delegated_oauth":true,"personal_access_token":true,"account_level":false,"all_workspace_consent_required":false,"minimum_workspace_role":"viewer"},"x-sosoapi-cli-callable":true,"x-sosoapi-capability":"agent:operate","x-sosoapi-completion-truth":"synchronous_http_response","requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/studio-api-projects-account-defaults-get-request"},"example":{"project_id":"11111111-1111-4111-8111-111111111111"}}}},"responses":{"200":{"description":"Successful HTTP response. Completion requirement: synchronous_http_response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/studio-api-projects-account-defaults-get-response"},"example":{"project_id":"11111111-1111-4111-8111-111111111111","defaults_version":1,"accounts":[]}}}},"default":{"description":"Check the HTTP status and error body. Validation errors can use a different format from handler errors. Keep the request ID, and check the existing result before retrying a write whose outcome is uncertain."}}}},"/studio-api/projects/account-defaults/replace":{"post":{"operationId":"studio-api-projects-account-defaults-replace","summary":"Replace project account defaults","description":"Replace project account defaults. Examples use fictional values checked against the schemas. See the linked reference for permissions and how to confirm the result.","tags":["project"],"externalDocs":{"url":"https://sosoapi.ai/docs/api/studio-api-projects-account-defaults-replace"},"security":[{"bearerAuth":[]}],"x-sosoapi-authorization":{"public":false,"human_jwt":true,"delegated_oauth":true,"personal_access_token":true,"account_level":false,"all_workspace_consent_required":false,"minimum_workspace_role":"editor"},"x-sosoapi-cli-callable":true,"x-sosoapi-capability":"agent:operate","x-sosoapi-completion-truth":"synchronous_http_response","requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/studio-api-projects-account-defaults-replace-request"},"example":{"project_id":"11111111-1111-4111-8111-111111111111","expected_defaults_version":1,"idempotency_key":"example-intent-0001","overrides":[]}}}},"responses":{"200":{"description":"Successful HTTP response. Completion requirement: synchronous_http_response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/studio-api-projects-account-defaults-replace-response"},"example":{"project_id":"11111111-1111-4111-8111-111111111111","defaults_version":1,"accounts":[],"receipt_id":"11111111-1111-4111-8111-111111111111","applied":false,"deduped":false}}}},"default":{"description":"Check the HTTP status and error body. Validation errors can use a different format from handler errors. Keep the request ID, and check the existing result before retrying a write whose outcome is uncertain."}}}},"/studio-api/projects/accounts/link":{"post":{"operationId":"studio-api-projects-accounts-link","summary":"Link project account","description":"Link a social account to a project. Examples use fictional values checked against the schemas. See the linked reference for permissions and how to confirm the result.","tags":["project"],"externalDocs":{"url":"https://sosoapi.ai/docs/api/studio-api-projects-accounts-link"},"security":[{"bearerAuth":[]}],"x-sosoapi-authorization":{"public":false,"human_jwt":true,"delegated_oauth":true,"personal_access_token":true,"account_level":false,"all_workspace_consent_required":false,"minimum_workspace_role":"editor"},"x-sosoapi-cli-callable":true,"x-sosoapi-capability":"agent:operate","x-sosoapi-completion-truth":"synchronous_http_response","requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/studio-api-projects-accounts-link-request"},"example":{"project_id":"11111111-1111-4111-8111-111111111111","social_account_id":"11111111-1111-4111-8111-111111111111","idempotency_key":"example-intent-0001"}}}},"responses":{"200":{"description":"Successful HTTP response. Completion requirement: synchronous_http_response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/studio-api-projects-accounts-link-response"},"example":{"contract_version":"project/v1","link":null,"receipt_id":"11111111-1111-4111-8111-111111111111","applied":false,"deduped":false}}}},"default":{"description":"Check the HTTP status and error body. Validation errors can use a different format from handler errors. Keep the request ID, and check the existing result before retrying a write whose outcome is uncertain."}}}},"/studio-api/projects/accounts/list":{"post":{"operationId":"studio-api-projects-accounts-list","summary":"List project accounts","description":"List accounts linked to a project. Examples use fictional values checked against the schemas. See the linked reference for permissions and how to confirm the result.","tags":["project"],"externalDocs":{"url":"https://sosoapi.ai/docs/api/studio-api-projects-accounts-list"},"security":[{"bearerAuth":[]}],"x-sosoapi-authorization":{"public":false,"human_jwt":true,"delegated_oauth":true,"personal_access_token":true,"account_level":false,"all_workspace_consent_required":false,"minimum_workspace_role":"viewer"},"x-sosoapi-cli-callable":true,"x-sosoapi-capability":"agent:operate","x-sosoapi-completion-truth":"synchronous_http_response","requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/studio-api-projects-accounts-list-request"},"example":{"project_id":"11111111-1111-4111-8111-111111111111"}}}},"responses":{"200":{"description":"Successful HTTP response. Completion requirement: synchronous_http_response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/studio-api-projects-accounts-list-response"},"example":{"contract_version":"project/v1","project_id":"11111111-1111-4111-8111-111111111111","links":[],"next_cursor":null}}}},"default":{"description":"Check the HTTP status and error body. Validation errors can use a different format from handler errors. Keep the request ID, and check the existing result before retrying a write whose outcome is uncertain."}}}},"/studio-api/projects/accounts/unlink":{"post":{"operationId":"studio-api-projects-accounts-unlink","summary":"Unlink project account","description":"Unlink a social account from a project. Examples use fictional values checked against the schemas. See the linked reference for permissions and how to confirm the result.","tags":["project"],"externalDocs":{"url":"https://sosoapi.ai/docs/api/studio-api-projects-accounts-unlink"},"security":[{"bearerAuth":[]}],"x-sosoapi-authorization":{"public":false,"human_jwt":true,"delegated_oauth":true,"personal_access_token":true,"account_level":false,"all_workspace_consent_required":false,"minimum_workspace_role":"editor"},"x-sosoapi-cli-callable":true,"x-sosoapi-capability":"agent:operate","x-sosoapi-completion-truth":"synchronous_http_response","requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/studio-api-projects-accounts-unlink-request"},"example":{"project_id":"11111111-1111-4111-8111-111111111111","social_account_id":"11111111-1111-4111-8111-111111111111","idempotency_key":"example-intent-0001"}}}},"responses":{"200":{"description":"Successful HTTP response. Completion requirement: synchronous_http_response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/studio-api-projects-accounts-unlink-response"},"example":{"contract_version":"project/v1","link":null,"receipt_id":"11111111-1111-4111-8111-111111111111","applied":false,"deduped":false}}}},"default":{"description":"Check the HTTP status and error body. Validation errors can use a different format from handler errors. Keep the request ID, and check the existing result before retrying a write whose outcome is uncertain."}}}},"/studio-api/projects/archive":{"post":{"operationId":"studio-api-projects-archive","summary":"Archive project","description":"Archive a project without changing its Scheduled Posts. To stop a post, cancel that Scheduled Post separately. Workspace owner only; pass expected_lifecycle_version and an idempotency_key. Examples use fictional values checked against the schemas. See the linked reference for permissions and how to confirm the result.","tags":["project"],"externalDocs":{"url":"https://sosoapi.ai/docs/api/studio-api-projects-archive"},"security":[{"bearerAuth":[]}],"x-sosoapi-authorization":{"public":false,"human_jwt":true,"delegated_oauth":true,"personal_access_token":true,"account_level":false,"all_workspace_consent_required":false,"minimum_workspace_role":"owner"},"x-sosoapi-cli-callable":true,"x-sosoapi-capability":"agent:operate","x-sosoapi-completion-truth":"synchronous_http_response","requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/studio-api-projects-archive-request"},"example":{"id":"11111111-1111-4111-8111-111111111111","expected_lifecycle_version":1,"idempotency_key":"example-intent-0001"}}}},"responses":{"200":{"description":"Successful HTTP response. Completion requirement: synchronous_http_response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/studio-api-projects-archive-response"},"example":{"project":{"id":"11111111-1111-4111-8111-111111111111","workspace_id":"11111111-1111-4111-8111-111111111111","name":"example","operational_state":"active","lifecycle_version":1,"defaults_version":1,"archived_at":null,"archived_by":null,"archived_by_api_key_id":null,"created_at":"example","updated_at":"example"},"receipt_id":"11111111-1111-4111-8111-111111111111","applied":false,"deduped":false,"held_schedule_count":0}}}},"default":{"description":"Check the HTTP status and error body. Validation errors can use a different format from handler errors. Keep the request ID, and check the existing result before retrying a write whose outcome is uncertain."}}}},"/studio-api/projects/assets/link":{"post":{"operationId":"studio-api-projects-assets-link","summary":"Link project asset","description":"Link an asset to a project. Examples use fictional values checked against the schemas. See the linked reference for permissions and how to confirm the result.","tags":["project"],"externalDocs":{"url":"https://sosoapi.ai/docs/api/studio-api-projects-assets-link"},"security":[{"bearerAuth":[]}],"x-sosoapi-authorization":{"public":false,"human_jwt":true,"delegated_oauth":true,"personal_access_token":true,"account_level":false,"all_workspace_consent_required":false,"minimum_workspace_role":"editor"},"x-sosoapi-cli-callable":true,"x-sosoapi-capability":"agent:operate","x-sosoapi-completion-truth":"synchronous_http_response","requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/studio-api-projects-assets-link-request"},"example":{"project_id":"11111111-1111-4111-8111-111111111111","asset_id":1,"relationship":"identity","idempotency_key":"example-intent-0001"}}}},"responses":{"200":{"description":"Successful HTTP response. Completion requirement: synchronous_http_response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/studio-api-projects-assets-link-response"},"example":{"contract_version":"project/v1","link":null,"receipt_id":"11111111-1111-4111-8111-111111111111","applied":false,"deduped":false}}}},"default":{"description":"Check the HTTP status and error body. Validation errors can use a different format from handler errors. Keep the request ID, and check the existing result before retrying a write whose outcome is uncertain."}}}},"/studio-api/projects/assets/list":{"post":{"operationId":"studio-api-projects-assets-list","summary":"List project assets","description":"List assets linked to a project. Examples use fictional values checked against the schemas. See the linked reference for permissions and how to confirm the result.","tags":["project"],"externalDocs":{"url":"https://sosoapi.ai/docs/api/studio-api-projects-assets-list"},"security":[{"bearerAuth":[]}],"x-sosoapi-authorization":{"public":false,"human_jwt":true,"delegated_oauth":true,"personal_access_token":true,"account_level":false,"all_workspace_consent_required":false,"minimum_workspace_role":"viewer"},"x-sosoapi-cli-callable":true,"x-sosoapi-capability":"agent:operate","x-sosoapi-completion-truth":"synchronous_http_response","requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/studio-api-projects-assets-list-request"},"example":{"project_id":"11111111-1111-4111-8111-111111111111"}}}},"responses":{"200":{"description":"Successful HTTP response. Completion requirement: synchronous_http_response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/studio-api-projects-assets-list-response"},"example":{"contract_version":"project/v1","project_id":"11111111-1111-4111-8111-111111111111","links":[],"next_cursor":null}}}},"default":{"description":"Check the HTTP status and error body. Validation errors can use a different format from handler errors. Keep the request ID, and check the existing result before retrying a write whose outcome is uncertain."}}}},"/studio-api/projects/assets/unlink":{"post":{"operationId":"studio-api-projects-assets-unlink","summary":"Unlink project asset","description":"Unlink an asset from a project. Examples use fictional values checked against the schemas. See the linked reference for permissions and how to confirm the result.","tags":["project"],"externalDocs":{"url":"https://sosoapi.ai/docs/api/studio-api-projects-assets-unlink"},"security":[{"bearerAuth":[]}],"x-sosoapi-authorization":{"public":false,"human_jwt":true,"delegated_oauth":true,"personal_access_token":true,"account_level":false,"all_workspace_consent_required":false,"minimum_workspace_role":"editor"},"x-sosoapi-cli-callable":true,"x-sosoapi-capability":"agent:operate","x-sosoapi-completion-truth":"synchronous_http_response","requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/studio-api-projects-assets-unlink-request"},"example":{"project_id":"11111111-1111-4111-8111-111111111111","asset_id":1,"idempotency_key":"example-intent-0001"}}}},"responses":{"200":{"description":"Successful HTTP response. Completion requirement: synchronous_http_response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/studio-api-projects-assets-unlink-response"},"example":{"contract_version":"project/v1","link":null,"receipt_id":"11111111-1111-4111-8111-111111111111","applied":false,"deduped":false}}}},"default":{"description":"Check the HTTP status and error body. Validation errors can use a different format from handler errors. Keep the request ID, and check the existing result before retrying a write whose outcome is uncertain."}}}},"/studio-api/projects/create":{"post":{"operationId":"studio-api-projects-create","summary":"Create project","description":"Create a project. Examples use fictional values checked against the schemas. See the linked reference for permissions and how to confirm the result.","tags":["project"],"externalDocs":{"url":"https://sosoapi.ai/docs/api/studio-api-projects-create"},"security":[{"bearerAuth":[]}],"x-sosoapi-authorization":{"public":false,"human_jwt":true,"delegated_oauth":true,"personal_access_token":true,"account_level":false,"all_workspace_consent_required":false,"minimum_workspace_role":"owner"},"x-sosoapi-cli-callable":true,"x-sosoapi-capability":"agent:operate","x-sosoapi-completion-truth":"synchronous_http_response","requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/studio-api-projects-create-request"},"example":{"workspace_id":"11111111-1111-4111-8111-111111111111","name":"example"}}}},"responses":{"200":{"description":"Successful HTTP response. Completion requirement: synchronous_http_response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/studio-api-projects-create-response"},"example":{"project":{"id":"11111111-1111-4111-8111-111111111111","workspace_id":"11111111-1111-4111-8111-111111111111","name":"example","operational_state":"active","lifecycle_version":1,"defaults_version":1,"archived_at":null,"archived_by":null,"archived_by_api_key_id":null,"created_at":"example","updated_at":"example"}}}}},"201":{"description":"Successful HTTP response. Completion requirement: synchronous_http_response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/studio-api-projects-create-response"},"example":{"project":{"id":"11111111-1111-4111-8111-111111111111","workspace_id":"11111111-1111-4111-8111-111111111111","name":"example","operational_state":"active","lifecycle_version":1,"defaults_version":1,"archived_at":null,"archived_by":null,"archived_by_api_key_id":null,"created_at":"example","updated_at":"example"}}}}},"default":{"description":"Check the HTTP status and error body. Validation errors can use a different format from handler errors. Keep the request ID, and check the existing result before retrying a write whose outcome is uncertain."}}}},"/studio-api/projects/export/create":{"post":{"operationId":"studio-api-projects-export-create","summary":"Create project export","description":"Create a project export. Examples use fictional values checked against the schemas. See the linked reference for permissions and how to confirm the result.","tags":["project"],"externalDocs":{"url":"https://sosoapi.ai/docs/api/studio-api-projects-export-create"},"security":[{"bearerAuth":[]}],"x-sosoapi-authorization":{"public":false,"human_jwt":true,"delegated_oauth":true,"personal_access_token":true,"account_level":false,"all_workspace_consent_required":false,"minimum_workspace_role":"owner"},"x-sosoapi-cli-callable":true,"x-sosoapi-capability":"agent:operate","x-sosoapi-completion-truth":"accepted_asynchronous_poll_export_status","requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/studio-api-projects-export-create-request"},"example":{"project_id":"11111111-1111-4111-8111-111111111111","idempotency_key":"example-intent-0001"}}}},"responses":{"202":{"description":"Successful HTTP response. Completion requirement: accepted_asynchronous_poll_export_status","content":{"application/json":{"schema":{"$ref":"#/components/schemas/studio-api-projects-export-create-response"},"example":{"contract_version":"project/v1","export_id":"11111111-1111-4111-8111-111111111111","job_id":"11111111-1111-4111-8111-111111111111","status":"queued","deduped":false}}}},"default":{"description":"Check the HTTP status and error body. Validation errors can use a different format from handler errors. Keep the request ID, and check the existing result before retrying a write whose outcome is uncertain."}}}},"/studio-api/projects/export/status":{"post":{"operationId":"studio-api-projects-export-status","summary":"Get project export status","description":"Read project export status. Examples use fictional values checked against the schemas. See the linked reference for permissions and how to confirm the result.","tags":["project"],"externalDocs":{"url":"https://sosoapi.ai/docs/api/studio-api-projects-export-status"},"security":[{"bearerAuth":[]}],"x-sosoapi-authorization":{"public":false,"human_jwt":true,"delegated_oauth":true,"personal_access_token":true,"account_level":false,"all_workspace_consent_required":false,"minimum_workspace_role":"owner"},"x-sosoapi-cli-callable":true,"x-sosoapi-capability":"agent:operate","x-sosoapi-completion-truth":"synchronous_http_response","requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/studio-api-projects-export-status-request"},"example":{"project_id":"11111111-1111-4111-8111-111111111111","export_id":"11111111-1111-4111-8111-111111111111"}}}},"responses":{"200":{"description":"Successful HTTP response. Completion requirement: synchronous_http_response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/studio-api-projects-export-status-response"},"example":{"contract_version":"project/v1","export_id":"11111111-1111-4111-8111-111111111111","project_id":"11111111-1111-4111-8111-111111111111","status":"queued","object_sha256":null,"object_size":null,"download_url":null,"download_expires_at":null,"error_message":null,"created_at":"2099-01-15T09:00:00Z","completed_at":null}}}},"default":{"description":"Check the HTTP status and error body. Validation errors can use a different format from handler errors. Keep the request ID, and check the existing result before retrying a write whose outcome is uncertain."}}}},"/studio-api/projects/get":{"post":{"operationId":"studio-api-projects-get","summary":"Get project","description":"Read a project. Examples use fictional values checked against the schemas. See the linked reference for permissions and how to confirm the result.","tags":["project"],"externalDocs":{"url":"https://sosoapi.ai/docs/api/studio-api-projects-get"},"security":[{"bearerAuth":[]}],"x-sosoapi-authorization":{"public":false,"human_jwt":true,"delegated_oauth":true,"personal_access_token":true,"account_level":false,"all_workspace_consent_required":false,"minimum_workspace_role":"viewer"},"x-sosoapi-cli-callable":true,"x-sosoapi-capability":"agent:operate","x-sosoapi-completion-truth":"synchronous_http_response","requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/studio-api-projects-get-request"},"example":{"id":"11111111-1111-4111-8111-111111111111"}}}},"responses":{"200":{"description":"Successful HTTP response. Completion requirement: synchronous_http_response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/studio-api-projects-get-response"},"example":{"project":{"id":"11111111-1111-4111-8111-111111111111","workspace_id":"11111111-1111-4111-8111-111111111111","name":"example","operational_state":"active","lifecycle_version":1,"defaults_version":1,"archived_at":null,"archived_by":null,"archived_by_api_key_id":null,"created_at":"example","updated_at":"example"}}}}},"default":{"description":"Check the HTTP status and error body. Validation errors can use a different format from handler errors. Keep the request ID, and check the existing result before retrying a write whose outcome is uncertain."}}}},"/studio-api/projects/lifecycle/history":{"post":{"operationId":"studio-api-projects-lifecycle-history","summary":"Get project lifecycle history","description":"Read project lifecycle history. Examples use fictional values checked against the schemas. See the linked reference for permissions and how to confirm the result.","tags":["project"],"externalDocs":{"url":"https://sosoapi.ai/docs/api/studio-api-projects-lifecycle-history"},"security":[{"bearerAuth":[]}],"x-sosoapi-authorization":{"public":false,"human_jwt":true,"delegated_oauth":true,"personal_access_token":true,"account_level":false,"all_workspace_consent_required":false,"minimum_workspace_role":"viewer"},"x-sosoapi-cli-callable":true,"x-sosoapi-capability":"agent:operate","x-sosoapi-completion-truth":"synchronous_http_response","requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/studio-api-projects-lifecycle-history-request"},"example":{"project_id":"11111111-1111-4111-8111-111111111111"}}}},"responses":{"200":{"description":"Successful HTTP response. Completion requirement: synchronous_http_response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/studio-api-projects-lifecycle-history-response"},"example":{"events":[]}}}},"default":{"description":"Check the HTTP status and error body. Validation errors can use a different format from handler errors. Keep the request ID, and check the existing result before retrying a write whose outcome is uncertain."}}}},"/studio-api/projects/list":{"post":{"operationId":"studio-api-projects-list","summary":"List projects","description":"List Workspace projects. Examples use fictional values checked against the schemas. See the linked reference for permissions and how to confirm the result.","tags":["project"],"externalDocs":{"url":"https://sosoapi.ai/docs/api/studio-api-projects-list"},"security":[{"bearerAuth":[]}],"x-sosoapi-authorization":{"public":false,"human_jwt":true,"delegated_oauth":true,"personal_access_token":true,"account_level":false,"all_workspace_consent_required":false,"minimum_workspace_role":"viewer"},"x-sosoapi-cli-callable":true,"x-sosoapi-capability":"agent:operate","x-sosoapi-completion-truth":"synchronous_http_response","requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/studio-api-projects-list-request"},"example":{"workspace_id":"11111111-1111-4111-8111-111111111111"}}}},"responses":{"200":{"description":"Successful HTTP response. Completion requirement: synchronous_http_response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/studio-api-projects-list-response"},"example":{"projects":[],"active_project_id":null}}}},"default":{"description":"Check the HTTP status and error body. Validation errors can use a different format from handler errors. Keep the request ID, and check the existing result before retrying a write whose outcome is uncertain."}}}},"/studio-api/projects/profile/get":{"post":{"operationId":"studio-api-projects-profile-get","summary":"Get project profile","description":"Read a project profile. Examples use fictional values checked against the schemas. See the linked reference for permissions and how to confirm the result.","tags":["project"],"externalDocs":{"url":"https://sosoapi.ai/docs/api/studio-api-projects-profile-get"},"security":[{"bearerAuth":[]}],"x-sosoapi-authorization":{"public":false,"human_jwt":true,"delegated_oauth":true,"personal_access_token":true,"account_level":false,"all_workspace_consent_required":false,"minimum_workspace_role":"viewer"},"x-sosoapi-cli-callable":true,"x-sosoapi-capability":"agent:operate","x-sosoapi-completion-truth":"synchronous_http_response","requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/studio-api-projects-profile-get-request"},"example":{"project_id":"11111111-1111-4111-8111-111111111111"}}}},"responses":{"200":{"description":"Successful HTTP response. Completion requirement: synchronous_http_response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/studio-api-projects-profile-get-response"},"example":{"contract_version":"project/v1","profile":null}}}},"default":{"description":"Check the HTTP status and error body. Validation errors can use a different format from handler errors. Keep the request ID, and check the existing result before retrying a write whose outcome is uncertain."}}}},"/studio-api/projects/profile/update":{"post":{"operationId":"studio-api-projects-profile-update","summary":"Update project profile","description":"Update a project profile. Examples use fictional values checked against the schemas. See the linked reference for permissions and how to confirm the result.","tags":["project"],"externalDocs":{"url":"https://sosoapi.ai/docs/api/studio-api-projects-profile-update"},"security":[{"bearerAuth":[]}],"x-sosoapi-authorization":{"public":false,"human_jwt":true,"delegated_oauth":true,"personal_access_token":true,"account_level":false,"all_workspace_consent_required":false,"minimum_workspace_role":"editor"},"x-sosoapi-cli-callable":true,"x-sosoapi-capability":"agent:operate","x-sosoapi-completion-truth":"synchronous_http_response","requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/studio-api-projects-profile-update-request"},"example":{"project_id":"11111111-1111-4111-8111-111111111111","expected_profile_version":1,"idempotency_key":"example-intent-0001","patch":{"tagline":"A fictional project for the documentation example."}}}}},"responses":{"200":{"description":"Successful HTTP response. Completion requirement: synchronous_http_response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/studio-api-projects-profile-update-response"},"example":{"contract_version":"project/v1","profile":{"project_id":"11111111-1111-4111-8111-111111111111","workspace_id":"11111111-1111-4111-8111-111111111111","tagline":null,"description":null,"voice":null,"target_audience":null,"color_palette":[],"goals":[],"no_go_topics":[],"language_primary":"example","positioning":null,"usp":null,"visual_identity":null,"forbidden_claims":[],"north_star_metric":null,"posting_cadence":null,"app_store_url_ios":null,"app_store_url_android":null,"app_metadata":{},"profile_version":1,"updated_by":null,"updated_by_kind":"jwt","updated_by_api_key_id":null,"updated_by_delegated_grant_id":null,"created_at":"2099-01-15T09:00:00Z","updated_at":"2099-01-15T09:00:00Z"},"receipt_id":"11111111-1111-4111-8111-111111111111","applied":false,"deduped":false}}}},"default":{"description":"Check the HTTP status and error body. Validation errors can use a different format from handler errors. Keep the request ID, and check the existing result before retrying a write whose outcome is uncertain."}}}},"/studio-api/projects/set-active":{"post":{"operationId":"studio-api-projects-set-active","summary":"Set active project","description":"Set the active project. Examples use fictional values checked against the schemas. See the linked reference for permissions and how to confirm the result.","tags":["project"],"externalDocs":{"url":"https://sosoapi.ai/docs/api/studio-api-projects-set-active"},"security":[{"bearerAuth":[]}],"x-sosoapi-authorization":{"public":false,"human_jwt":true,"delegated_oauth":true,"personal_access_token":true,"account_level":false,"all_workspace_consent_required":false,"minimum_workspace_role":"viewer"},"x-sosoapi-cli-callable":true,"x-sosoapi-capability":"agent:operate","x-sosoapi-completion-truth":"synchronous_http_response","requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/studio-api-projects-set-active-request"},"example":{"project_id":"11111111-1111-4111-8111-111111111111"}}}},"responses":{"200":{"description":"Successful HTTP response. Completion requirement: synchronous_http_response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/studio-api-projects-set-active-response"},"example":{"ok":true,"active_project_id":"11111111-1111-4111-8111-111111111111"}}}},"default":{"description":"Check the HTTP status and error body. Validation errors can use a different format from handler errors. Keep the request ID, and check the existing result before retrying a write whose outcome is uncertain."}}}},"/studio-api/projects/unarchive":{"post":{"operationId":"studio-api-projects-unarchive","summary":"Unarchive project","description":"Reactivate an archived project. This does not resume or reschedule posts; manage those through Scheduled Posts. Workspace owner only; pass expected_lifecycle_version and an idempotency_key. Examples use fictional values checked against the schemas. See the linked reference for permissions and how to confirm the result.","tags":["project"],"externalDocs":{"url":"https://sosoapi.ai/docs/api/studio-api-projects-unarchive"},"security":[{"bearerAuth":[]}],"x-sosoapi-authorization":{"public":false,"human_jwt":true,"delegated_oauth":true,"personal_access_token":true,"account_level":false,"all_workspace_consent_required":false,"minimum_workspace_role":"owner"},"x-sosoapi-cli-callable":true,"x-sosoapi-capability":"agent:operate","x-sosoapi-completion-truth":"synchronous_http_response","requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/studio-api-projects-unarchive-request"},"example":{"id":"11111111-1111-4111-8111-111111111111","expected_lifecycle_version":1,"idempotency_key":"example-intent-0001"}}}},"responses":{"200":{"description":"Successful HTTP response. Completion requirement: synchronous_http_response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/studio-api-projects-unarchive-response"},"example":{"project":{"id":"11111111-1111-4111-8111-111111111111","workspace_id":"11111111-1111-4111-8111-111111111111","name":"example","operational_state":"active","lifecycle_version":1,"defaults_version":1,"archived_at":null,"archived_by":null,"archived_by_api_key_id":null,"created_at":"example","updated_at":"example"},"receipt_id":"11111111-1111-4111-8111-111111111111","applied":false,"deduped":false,"resumed_schedule_count":0,"needs_reschedule_count":0}}}},"default":{"description":"Check the HTTP status and error body. Validation errors can use a different format from handler errors. Keep the request ID, and check the existing result before retrying a write whose outcome is uncertain."}}}},"/studio-api/projects/update":{"post":{"operationId":"studio-api-projects-update","summary":"Update project","description":"Update a project. Examples use fictional values checked against the schemas. See the linked reference for permissions and how to confirm the result.","tags":["project"],"externalDocs":{"url":"https://sosoapi.ai/docs/api/studio-api-projects-update"},"security":[{"bearerAuth":[]}],"x-sosoapi-authorization":{"public":false,"human_jwt":true,"delegated_oauth":true,"personal_access_token":true,"account_level":false,"all_workspace_consent_required":false,"minimum_workspace_role":"owner"},"x-sosoapi-cli-callable":true,"x-sosoapi-capability":"agent:operate","x-sosoapi-completion-truth":"synchronous_http_response","requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/studio-api-projects-update-request"},"example":{"id":"11111111-1111-4111-8111-111111111111","name":"example"}}}},"responses":{"200":{"description":"Successful HTTP response. Completion requirement: synchronous_http_response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/studio-api-projects-update-response"},"example":{"project":{"id":"11111111-1111-4111-8111-111111111111","workspace_id":"11111111-1111-4111-8111-111111111111","name":"example","operational_state":"active","lifecycle_version":1,"defaults_version":1,"archived_at":null,"archived_by":null,"archived_by_api_key_id":null,"created_at":"example","updated_at":"example"}}}}},"default":{"description":"Check the HTTP status and error body. Validation errors can use a different format from handler errors. Keep the request ID, and check the existing result before retrying a write whose outcome is uncertain."}}}},"/studio-api/publication-attentions/list":{"post":{"operationId":"studio-api-publication-attentions-list","summary":"List publication attentions","description":"Read publication outcomes requiring attention. Examples use fictional values checked against the schemas. See the linked reference for permissions and how to confirm the result.","tags":["project"],"externalDocs":{"url":"https://sosoapi.ai/docs/api/studio-api-publication-attentions-list"},"security":[{"bearerAuth":[]}],"x-sosoapi-authorization":{"public":false,"human_jwt":true,"delegated_oauth":true,"personal_access_token":true,"account_level":false,"all_workspace_consent_required":false,"minimum_workspace_role":"viewer"},"x-sosoapi-cli-callable":true,"x-sosoapi-capability":"agent:operate","x-sosoapi-completion-truth":"synchronous_http_response","requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/studio-api-publication-attentions-list-request"},"example":{"workspace_id":"11111111-1111-4111-8111-111111111111"}}}},"responses":{"200":{"description":"Successful HTTP response. Completion requirement: synchronous_http_response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/studio-api-publication-attentions-list-response"},"example":{"attentions":[],"next_offset":null,"returned_count":0,"total":0}}}},"default":{"description":"Check the HTTP status and error body. Validation errors can use a different format from handler errors. Keep the request ID, and check the existing result before retrying a write whose outcome is uncertain."}}}},"/studio-api/scheduled-posts/bulk-create":{"post":{"operationId":"studio-api-scheduled-posts-bulk-create","summary":"Bulk create scheduled posts","description":"Create scheduled posts for multiple destinations. Examples use fictional values checked against the schemas. See the linked reference for permissions and how to confirm the result.","tags":["publishing"],"externalDocs":{"url":"https://sosoapi.ai/docs/api/studio-api-scheduled-posts-bulk-create"},"security":[{"bearerAuth":[]}],"x-sosoapi-authorization":{"public":false,"human_jwt":true,"delegated_oauth":true,"personal_access_token":true,"account_level":false,"all_workspace_consent_required":false,"minimum_workspace_role":"editor"},"x-sosoapi-cli-callable":true,"x-sosoapi-capability":"agent:publish","x-sosoapi-completion-truth":"terminal publication outcome","requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/studio-api-scheduled-posts-bulk-create-request"},"example":{"workspace_id":"11111111-1111-4111-8111-111111111111","targets":[{"social_account_id":"11111111-1111-4111-8111-111111111111","provider_payload":{"platform":"x","publish_options":{"post_type":"TEXT"}},"scheduled_at":"2099-01-15T09:00:00Z","idempotency_key":"example-intent-0001"}]}}}},"responses":{"201":{"description":"Successful HTTP response. Completion requirement: terminal publication outcome","content":{"application/json":{"schema":{"$ref":"#/components/schemas/studio-api-scheduled-posts-bulk-create-response"},"example":{"batch_id":null,"successes":[],"failures":[]}}}},"422":{"description":"Successful HTTP response. Completion requirement: terminal publication outcome","content":{"application/json":{"schema":{"$ref":"#/components/schemas/studio-api-scheduled-posts-bulk-create-response"},"example":{"batch_id":null,"successes":[],"failures":[]}}}},"default":{"description":"Check the HTTP status and error body. Validation errors can use a different format from handler errors. Keep the request ID, and check the existing result before retrying a write whose outcome is uncertain."}}}},"/studio-api/scheduled-posts/cancel":{"post":{"operationId":"studio-api-scheduled-posts-cancel","summary":"Cancel scheduled post","description":"Cancel a scheduled post. Examples use fictional values checked against the schemas. See the linked reference for permissions and how to confirm the result.","tags":["publishing"],"externalDocs":{"url":"https://sosoapi.ai/docs/api/studio-api-scheduled-posts-cancel"},"security":[{"bearerAuth":[]}],"x-sosoapi-authorization":{"public":false,"human_jwt":true,"delegated_oauth":true,"personal_access_token":true,"account_level":false,"all_workspace_consent_required":false,"minimum_workspace_role":"editor"},"x-sosoapi-cli-callable":true,"x-sosoapi-capability":"agent:publish","x-sosoapi-completion-truth":"terminal publication outcome","requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/studio-api-scheduled-posts-cancel-request"},"example":{"id":"11111111-1111-4111-8111-111111111111","expected_version":1}}}},"responses":{"200":{"description":"Successful HTTP response. Completion requirement: terminal publication outcome","content":{"application/json":{"schema":{"$ref":"#/components/schemas/studio-api-scheduled-posts-cancel-response"},"example":{"post":{"id":"11111111-1111-4111-8111-111111111111","workspace_id":"11111111-1111-4111-8111-111111111111","social_account_id":null,"platform":"instagram","destination":{"social_account_id":null,"platform":"instagram","platform_user_id":null,"account_label":null},"caption":null,"hashtags":[],"media":[],"publish_options":{},"scheduled_at":"example","display_timezone":"UTC","expires_at":null,"status":"scheduled","version":1,"automatic_retry_enabled":false,"delete_requested_at":null,"published_at":null,"deleted_at":null,"provider_post_id":null,"permalink":null,"created_at":"example","updated_at":"example","project_id":null,"batch_id":null,"source_ref":null}}}}},"default":{"description":"Check the HTTP status and error body. Validation errors can use a different format from handler errors. Keep the request ID, and check the existing result before retrying a write whose outcome is uncertain."}}}},"/studio-api/scheduled-posts/create":{"post":{"operationId":"studio-api-scheduled-posts-create","summary":"Create scheduled post","description":"Create a scheduled post and inspect terminal publication outcome. Examples use fictional values checked against the schemas. See the linked reference for permissions and how to confirm the result.","tags":["publishing"],"externalDocs":{"url":"https://sosoapi.ai/docs/api/studio-api-scheduled-posts-create"},"security":[{"bearerAuth":[]}],"x-sosoapi-authorization":{"public":false,"human_jwt":true,"delegated_oauth":true,"personal_access_token":true,"account_level":false,"all_workspace_consent_required":false,"minimum_workspace_role":"editor"},"x-sosoapi-cli-callable":true,"x-sosoapi-capability":"agent:publish","x-sosoapi-completion-truth":"terminal publication outcome","requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/studio-api-scheduled-posts-create-request"},"example":{"workspace_id":"11111111-1111-4111-8111-111111111111","social_account_id":"11111111-1111-4111-8111-111111111111","provider_payload":{"platform":"x","publish_options":{"post_type":"TEXT"}},"scheduled_at":"2099-01-15T09:00:00Z","idempotency_key":"example-intent-0001"}}}},"responses":{"200":{"description":"Successful HTTP response. Completion requirement: terminal publication outcome","content":{"application/json":{"schema":{"$ref":"#/components/schemas/studio-api-scheduled-posts-create-response"},"example":{"post":{"id":"11111111-1111-4111-8111-111111111111","workspace_id":"11111111-1111-4111-8111-111111111111","social_account_id":null,"platform":"instagram","destination":{"social_account_id":null,"platform":"instagram","platform_user_id":null,"account_label":null},"caption":null,"hashtags":[],"media":[],"publish_options":{},"scheduled_at":"example","display_timezone":"UTC","expires_at":null,"status":"scheduled","version":1,"automatic_retry_enabled":false,"delete_requested_at":null,"published_at":null,"deleted_at":null,"provider_post_id":null,"permalink":null,"created_at":"example","updated_at":"example","project_id":null,"batch_id":null,"source_ref":null},"deduped":false}}}},"201":{"description":"Successful HTTP response. Completion requirement: terminal publication outcome","content":{"application/json":{"schema":{"$ref":"#/components/schemas/studio-api-scheduled-posts-create-response"},"example":{"post":{"id":"11111111-1111-4111-8111-111111111111","workspace_id":"11111111-1111-4111-8111-111111111111","social_account_id":null,"platform":"instagram","destination":{"social_account_id":null,"platform":"instagram","platform_user_id":null,"account_label":null},"caption":null,"hashtags":[],"media":[],"publish_options":{},"scheduled_at":"example","display_timezone":"UTC","expires_at":null,"status":"scheduled","version":1,"automatic_retry_enabled":false,"delete_requested_at":null,"published_at":null,"deleted_at":null,"provider_post_id":null,"permalink":null,"created_at":"example","updated_at":"example","project_id":null,"batch_id":null,"source_ref":null},"deduped":false}}}},"default":{"description":"Check the HTTP status and error body. Validation errors can use a different format from handler errors. Keep the request ID, and check the existing result before retrying a write whose outcome is uncertain."}}}},"/studio-api/scheduled-posts/create-image-url":{"post":{"operationId":"studio-api-scheduled-posts-create-image-url","summary":"Submit a complete image post","description":"Accept one complete image URL post durably and return its terminal result when available. Examples use fictional values checked against the schemas. See the linked reference for permissions and how to confirm the result.","tags":["publishing"],"externalDocs":{"url":"https://sosoapi.ai/docs/api/studio-api-scheduled-posts-create-image-url"},"security":[{"bearerAuth":[]}],"x-sosoapi-authorization":{"public":false,"human_jwt":true,"delegated_oauth":true,"personal_access_token":true,"account_level":false,"all_workspace_consent_required":false,"minimum_workspace_role":"editor"},"x-sosoapi-cli-callable":true,"x-sosoapi-capability":"agent:publish","x-sosoapi-completion-truth":"terminal publication outcome","requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/studio-api-scheduled-posts-create-image-url-request"},"example":{"workspace_id":"11111111-1111-4111-8111-111111111111","social_account_id":"11111111-1111-4111-8111-111111111111","provider_payload":{"platform":"threads","publish_options":{"post_type":"IMAGE"}},"scheduled_at":"2099-01-15T09:00:00Z","idempotency_key":"example-intent-0001","source_url":"https://example.com/media.png"}}}},"responses":{"200":{"description":"Successful HTTP response. Completion requirement: terminal publication outcome","content":{"application/json":{"schema":{"$ref":"#/components/schemas/studio-api-scheduled-posts-create-image-url-response"},"example":{"post":{"id":"11111111-1111-4111-8111-111111111111","workspace_id":"11111111-1111-4111-8111-111111111111","social_account_id":null,"platform":"instagram","destination":{"social_account_id":null,"platform":"instagram","platform_user_id":null,"account_label":null},"caption":null,"hashtags":[],"media":[],"publish_options":{},"scheduled_at":"example","display_timezone":"UTC","expires_at":null,"status":"scheduled","version":1,"automatic_retry_enabled":false,"delete_requested_at":null,"published_at":null,"deleted_at":null,"provider_post_id":null,"permalink":null,"created_at":"example","updated_at":"example","project_id":null,"batch_id":null,"source_ref":null},"deduped":false,"import_id":"11111111-1111-4111-8111-111111111111","media_preparation":"pending","completion":"pending"}}}},"201":{"description":"Successful HTTP response. Completion requirement: terminal publication outcome","content":{"application/json":{"schema":{"$ref":"#/components/schemas/studio-api-scheduled-posts-create-image-url-response"},"example":{"post":{"id":"11111111-1111-4111-8111-111111111111","workspace_id":"11111111-1111-4111-8111-111111111111","social_account_id":null,"platform":"instagram","destination":{"social_account_id":null,"platform":"instagram","platform_user_id":null,"account_label":null},"caption":null,"hashtags":[],"media":[],"publish_options":{},"scheduled_at":"example","display_timezone":"UTC","expires_at":null,"status":"scheduled","version":1,"automatic_retry_enabled":false,"delete_requested_at":null,"published_at":null,"deleted_at":null,"provider_post_id":null,"permalink":null,"created_at":"example","updated_at":"example","project_id":null,"batch_id":null,"source_ref":null},"deduped":false,"import_id":"11111111-1111-4111-8111-111111111111","media_preparation":"pending","completion":"pending"}}}},"default":{"description":"Check the HTTP status and error body. Validation errors can use a different format from handler errors. Keep the request ID, and check the existing result before retrying a write whose outcome is uncertain."}}}},"/studio-api/scheduled-posts/delete":{"post":{"operationId":"studio-api-scheduled-posts-delete","summary":"Delete scheduled post","description":"Delete a scheduled post. Examples use fictional values checked against the schemas. See the linked reference for permissions and how to confirm the result.","tags":["publishing"],"externalDocs":{"url":"https://sosoapi.ai/docs/api/studio-api-scheduled-posts-delete"},"security":[{"bearerAuth":[]}],"x-sosoapi-authorization":{"public":false,"human_jwt":true,"delegated_oauth":true,"personal_access_token":true,"account_level":false,"all_workspace_consent_required":false,"minimum_workspace_role":"editor"},"x-sosoapi-cli-callable":true,"x-sosoapi-capability":"agent:publish","x-sosoapi-completion-truth":"terminal publication outcome","requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/studio-api-scheduled-posts-delete-request"},"example":{"id":"11111111-1111-4111-8111-111111111111","expected_version":1}}}},"responses":{"200":{"description":"Successful HTTP response. Completion requirement: terminal publication outcome","content":{"application/json":{"schema":{"$ref":"#/components/schemas/studio-api-scheduled-posts-delete-response"},"example":{"post":{"id":"11111111-1111-4111-8111-111111111111","workspace_id":"11111111-1111-4111-8111-111111111111","social_account_id":null,"platform":"instagram","destination":{"social_account_id":null,"platform":"instagram","platform_user_id":null,"account_label":null},"caption":null,"hashtags":[],"media":[],"publish_options":{},"scheduled_at":"example","display_timezone":"UTC","expires_at":null,"status":"scheduled","version":1,"automatic_retry_enabled":false,"delete_requested_at":null,"published_at":null,"deleted_at":null,"provider_post_id":null,"permalink":null,"created_at":"example","updated_at":"example","project_id":null,"batch_id":null,"source_ref":null}}}}},"default":{"description":"Check the HTTP status and error body. Validation errors can use a different format from handler errors. Keep the request ID, and check the existing result before retrying a write whose outcome is uncertain."}}}},"/studio-api/scheduled-posts/eligibility":{"post":{"operationId":"studio-api-scheduled-posts-eligibility","summary":"Get scheduled post eligibility","description":"Read destination eligibility before scheduling. Examples use fictional values checked against the schemas. See the linked reference for permissions and how to confirm the result.","tags":["publishing"],"externalDocs":{"url":"https://sosoapi.ai/docs/api/studio-api-scheduled-posts-eligibility"},"security":[{"bearerAuth":[]}],"x-sosoapi-authorization":{"public":false,"human_jwt":true,"delegated_oauth":true,"personal_access_token":true,"account_level":false,"all_workspace_consent_required":false,"minimum_workspace_role":"viewer"},"x-sosoapi-cli-callable":true,"x-sosoapi-capability":"agent:operate","x-sosoapi-completion-truth":"synchronous_http_response","requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/studio-api-scheduled-posts-eligibility-request"},"example":{"workspace_id":"11111111-1111-4111-8111-111111111111","targets":[{"social_account_id":"11111111-1111-4111-8111-111111111111","media":[],"provider_payload":{"platform":"x","publish_options":{"post_type":"TEXT"}}}]}}}},"responses":{"200":{"description":"Successful HTTP response. Completion requirement: synchronous_http_response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/studio-api-scheduled-posts-eligibility-response"},"example":{"destinations":[]}}}},"default":{"description":"Check the HTTP status and error body. Validation errors can use a different format from handler errors. Keep the request ID, and check the existing result before retrying a write whose outcome is uncertain."}}}},"/studio-api/scheduled-posts/get":{"post":{"operationId":"studio-api-scheduled-posts-get","summary":"Get scheduled post","description":"Read one scheduled post. Examples use fictional values checked against the schemas. See the linked reference for permissions and how to confirm the result.","tags":["publishing"],"externalDocs":{"url":"https://sosoapi.ai/docs/api/studio-api-scheduled-posts-get"},"security":[{"bearerAuth":[]}],"x-sosoapi-authorization":{"public":false,"human_jwt":true,"delegated_oauth":true,"personal_access_token":true,"account_level":false,"all_workspace_consent_required":false,"minimum_workspace_role":"viewer"},"x-sosoapi-cli-callable":true,"x-sosoapi-capability":"agent:operate","x-sosoapi-completion-truth":"synchronous_http_response","requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/studio-api-scheduled-posts-get-request"},"example":{"id":"11111111-1111-4111-8111-111111111111"}}}},"responses":{"200":{"description":"Successful HTTP response. Completion requirement: synchronous_http_response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/studio-api-scheduled-posts-get-response"},"example":{"post":{"id":"11111111-1111-4111-8111-111111111111","workspace_id":"11111111-1111-4111-8111-111111111111","social_account_id":null,"platform":"instagram","destination":{"social_account_id":null,"platform":"instagram","platform_user_id":null,"account_label":null},"caption":null,"hashtags":[],"media":[],"publish_options":{},"scheduled_at":"example","display_timezone":"UTC","expires_at":null,"status":"scheduled","version":1,"automatic_retry_enabled":false,"delete_requested_at":null,"published_at":null,"deleted_at":null,"provider_post_id":null,"permalink":null,"created_at":"example","updated_at":"example"},"delivery":{"stage":"scheduled","message":"example"},"actions":[{"action":"edit","allowed":true,"reason_code":"allowed","message":"Allowed in this example state."},{"action":"publish_now","allowed":true,"reason_code":"allowed","message":"Allowed in this example state."},{"action":"retry","allowed":false,"reason_code":"not_failed","message":"This example post has not failed."},{"action":"cancel","allowed":true,"reason_code":"allowed","message":"Allowed in this example state."},{"action":"delete","allowed":true,"reason_code":"allowed","message":"Allowed in this example state."}],"attempts":[],"outcomes":[]}}}},"default":{"description":"Check the HTTP status and error body. Validation errors can use a different format from handler errors. Keep the request ID, and check the existing result before retrying a write whose outcome is uncertain."}}}},"/studio-api/scheduled-posts/list":{"post":{"operationId":"studio-api-scheduled-posts-list","summary":"List scheduled posts","description":"List scheduled posts. Examples use fictional values checked against the schemas. See the linked reference for permissions and how to confirm the result.","tags":["publishing"],"externalDocs":{"url":"https://sosoapi.ai/docs/api/studio-api-scheduled-posts-list"},"security":[{"bearerAuth":[]}],"x-sosoapi-authorization":{"public":false,"human_jwt":true,"delegated_oauth":true,"personal_access_token":true,"account_level":false,"all_workspace_consent_required":false,"minimum_workspace_role":"viewer"},"x-sosoapi-cli-callable":true,"x-sosoapi-capability":"agent:operate","x-sosoapi-completion-truth":"synchronous_http_response","requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/studio-api-scheduled-posts-list-request"},"example":{"workspace_id":"11111111-1111-4111-8111-111111111111"}}}},"responses":{"200":{"description":"Successful HTTP response. Completion requirement: synchronous_http_response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/studio-api-scheduled-posts-list-response"},"example":{"posts":[],"next_cursor":null,"returned_count":0}}}},"default":{"description":"Check the HTTP status and error body. Validation errors can use a different format from handler errors. Keep the request ID, and check the existing result before retrying a write whose outcome is uncertain."}}}},"/studio-api/scheduled-posts/publish-now":{"post":{"operationId":"studio-api-scheduled-posts-publish-now","summary":"Publish scheduled post now","description":"Request immediate publication. Examples use fictional values checked against the schemas. See the linked reference for permissions and how to confirm the result.","tags":["publishing"],"externalDocs":{"url":"https://sosoapi.ai/docs/api/studio-api-scheduled-posts-publish-now"},"security":[{"bearerAuth":[]}],"x-sosoapi-authorization":{"public":false,"human_jwt":true,"delegated_oauth":true,"personal_access_token":true,"account_level":false,"all_workspace_consent_required":false,"minimum_workspace_role":"editor"},"x-sosoapi-cli-callable":true,"x-sosoapi-capability":"agent:publish","x-sosoapi-completion-truth":"terminal publication outcome","requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/studio-api-scheduled-posts-publish-now-request"},"example":{"id":"11111111-1111-4111-8111-111111111111","expected_version":1}}}},"responses":{"200":{"description":"Successful HTTP response. Completion requirement: terminal publication outcome","content":{"application/json":{"schema":{"$ref":"#/components/schemas/studio-api-scheduled-posts-publish-now-response"},"example":{"post":{"id":"11111111-1111-4111-8111-111111111111","workspace_id":"11111111-1111-4111-8111-111111111111","social_account_id":null,"platform":"instagram","destination":{"social_account_id":null,"platform":"instagram","platform_user_id":null,"account_label":null},"caption":null,"hashtags":[],"media":[],"publish_options":{},"scheduled_at":"example","display_timezone":"UTC","expires_at":null,"status":"scheduled","version":1,"automatic_retry_enabled":false,"delete_requested_at":null,"published_at":null,"deleted_at":null,"provider_post_id":null,"permalink":null,"created_at":"example","updated_at":"example","project_id":null,"batch_id":null,"source_ref":null}}}}},"default":{"description":"Check the HTTP status and error body. Validation errors can use a different format from handler errors. Keep the request ID, and check the existing result before retrying a write whose outcome is uncertain."}}}},"/studio-api/scheduled-posts/retry":{"post":{"operationId":"studio-api-scheduled-posts-retry","summary":"Retry scheduled post","description":"Retry a failed scheduled post. Examples use fictional values checked against the schemas. See the linked reference for permissions and how to confirm the result.","tags":["publishing"],"externalDocs":{"url":"https://sosoapi.ai/docs/api/studio-api-scheduled-posts-retry"},"security":[{"bearerAuth":[]}],"x-sosoapi-authorization":{"public":false,"human_jwt":true,"delegated_oauth":true,"personal_access_token":true,"account_level":false,"all_workspace_consent_required":false,"minimum_workspace_role":"editor"},"x-sosoapi-cli-callable":true,"x-sosoapi-capability":"agent:publish","x-sosoapi-completion-truth":"terminal publication outcome","requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/studio-api-scheduled-posts-retry-request"},"example":{"id":"11111111-1111-4111-8111-111111111111","expected_version":1}}}},"responses":{"200":{"description":"Successful HTTP response. Completion requirement: terminal publication outcome","content":{"application/json":{"schema":{"$ref":"#/components/schemas/studio-api-scheduled-posts-retry-response"},"example":{"post":{"id":"11111111-1111-4111-8111-111111111111","workspace_id":"11111111-1111-4111-8111-111111111111","social_account_id":null,"platform":"instagram","destination":{"social_account_id":null,"platform":"instagram","platform_user_id":null,"account_label":null},"caption":null,"hashtags":[],"media":[],"publish_options":{},"scheduled_at":"example","display_timezone":"UTC","expires_at":null,"status":"scheduled","version":1,"automatic_retry_enabled":false,"delete_requested_at":null,"published_at":null,"deleted_at":null,"provider_post_id":null,"permalink":null,"created_at":"example","updated_at":"example","project_id":null,"batch_id":null,"source_ref":null}}}}},"default":{"description":"Check the HTTP status and error body. Validation errors can use a different format from handler errors. Keep the request ID, and check the existing result before retrying a write whose outcome is uncertain."}}}},"/studio-api/scheduled-posts/update":{"post":{"operationId":"studio-api-scheduled-posts-update","summary":"Update scheduled post","description":"Update a scheduled post. Examples use fictional values checked against the schemas. See the linked reference for permissions and how to confirm the result.","tags":["publishing"],"externalDocs":{"url":"https://sosoapi.ai/docs/api/studio-api-scheduled-posts-update"},"security":[{"bearerAuth":[]}],"x-sosoapi-authorization":{"public":false,"human_jwt":true,"delegated_oauth":true,"personal_access_token":true,"account_level":false,"all_workspace_consent_required":false,"minimum_workspace_role":"editor"},"x-sosoapi-cli-callable":true,"x-sosoapi-capability":"agent:publish","x-sosoapi-completion-truth":"terminal publication outcome","requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/studio-api-scheduled-posts-update-request"},"example":{"id":"11111111-1111-4111-8111-111111111111","expected_version":1,"patch":{}}}}},"responses":{"200":{"description":"Successful HTTP response. Completion requirement: terminal publication outcome","content":{"application/json":{"schema":{"$ref":"#/components/schemas/studio-api-scheduled-posts-update-response"},"example":{"post":{"id":"11111111-1111-4111-8111-111111111111","workspace_id":"11111111-1111-4111-8111-111111111111","social_account_id":null,"platform":"instagram","destination":{"social_account_id":null,"platform":"instagram","platform_user_id":null,"account_label":null},"caption":null,"hashtags":[],"media":[],"publish_options":{},"scheduled_at":"example","display_timezone":"UTC","expires_at":null,"status":"scheduled","version":1,"automatic_retry_enabled":false,"delete_requested_at":null,"published_at":null,"deleted_at":null,"provider_post_id":null,"permalink":null,"created_at":"example","updated_at":"example","project_id":null,"batch_id":null,"source_ref":null}}}}},"default":{"description":"Check the HTTP status and error body. Validation errors can use a different format from handler errors. Keep the request ID, and check the existing result before retrying a write whose outcome is uncertain."}}}},"/studio-api/scheduled-posts/withdraw-delete":{"post":{"operationId":"studio-api-scheduled-posts-withdraw-delete","summary":"Withdraw deletion request","description":"Withdraw a stopped Instagram Login deletion request and retain the published post. Examples use fictional values checked against the schemas. See the linked reference for permissions and how to confirm the result.","tags":["publishing"],"externalDocs":{"url":"https://sosoapi.ai/docs/api/studio-api-scheduled-posts-withdraw-delete"},"security":[{"bearerAuth":[]}],"x-sosoapi-authorization":{"public":false,"human_jwt":true,"delegated_oauth":true,"personal_access_token":true,"account_level":false,"all_workspace_consent_required":false,"minimum_workspace_role":"editor"},"x-sosoapi-cli-callable":true,"x-sosoapi-capability":"agent:publish","x-sosoapi-completion-truth":"audited withdrawal; provider content retained","requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/studio-api-scheduled-posts-withdraw-delete-request"},"example":{"id":"11111111-1111-4111-8111-111111111111","expected_version":1}}}},"responses":{"200":{"description":"Successful HTTP response. Completion requirement: audited withdrawal; provider content retained","content":{"application/json":{"schema":{"$ref":"#/components/schemas/studio-api-scheduled-posts-withdraw-delete-response"},"example":{"post":{"id":"11111111-1111-4111-8111-111111111111","workspace_id":"11111111-1111-4111-8111-111111111111","social_account_id":null,"platform":"instagram","destination":{"social_account_id":null,"platform":"instagram","platform_user_id":null,"account_label":null},"caption":null,"hashtags":[],"media":[],"publish_options":{},"scheduled_at":"example","display_timezone":"UTC","expires_at":null,"status":"scheduled","version":1,"automatic_retry_enabled":false,"delete_requested_at":null,"published_at":null,"deleted_at":null,"provider_post_id":null,"permalink":null,"created_at":"example","updated_at":"example","project_id":null,"batch_id":null,"source_ref":null}}}}},"default":{"description":"Check the HTTP status and error body. Validation errors can use a different format from handler errors. Keep the request ID, and check the existing result before retrying a write whose outcome is uncertain."}}}},"/studio-api/x/usage":{"post":{"operationId":"studio-api-x-usage","summary":"Get X publishing credits","description":"Read shared Organization X credits and the credit cost of optional final Post text. Examples use fictional values checked against the schemas. See the linked reference for permissions and how to confirm the result.","tags":["publishing"],"externalDocs":{"url":"https://sosoapi.ai/docs/api/studio-api-x-usage"},"security":[{"bearerAuth":[]}],"x-sosoapi-authorization":{"public":false,"human_jwt":true,"delegated_oauth":true,"personal_access_token":true,"account_level":false,"all_workspace_consent_required":false,"minimum_workspace_role":"viewer"},"x-sosoapi-cli-callable":true,"x-sosoapi-capability":"agent:operate","x-sosoapi-completion-truth":"synchronous_http_response","requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/studio-api-x-usage-request"},"example":{"workspace_id":"11111111-1111-4111-8111-111111111111"}}}},"responses":{"200":{"description":"Successful HTTP response. Completion requirement: synchronous_http_response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/studio-api-x-usage-response"},"example":{"workspace_id":"11111111-1111-4111-8111-111111111111","plan":"free","allowance":"one_time","period_start":"2099-01-15T09:00:00Z","period_end":null,"limit":10,"reserved":0,"consumed":0,"remaining":0,"costs":{"text":1,"with_url":10}}}}},"default":{"description":"Check the HTTP status and error body. Validation errors can use a different format from handler errors. Keep the request ID, and check the existing result before retrying a write whose outcome is uncertain."}}}}},"components":{"securitySchemes":{"bearerAuth":{"type":"http","scheme":"bearer","description":"Use only a credential class accepted by the operation: user session, delegated OAuth or a scoped personal access token."}},"schemas":{"analytics-api-dashboard-ops-counts-request":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"workspace_id":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"}},"required":["workspace_id"],"additionalProperties":false},"analytics-api-dashboard-ops-counts-response":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"scheduledCount":{"anyOf":[{"type":"number"},{"type":"null"}]},"recentJobsCount":{"anyOf":[{"type":"number"},{"type":"null"}]},"socialsCount":{"anyOf":[{"type":"number"},{"type":"null"}]}},"required":["scheduledCount","recentJobsCount","socialsCount"]},"analytics-api-provider-insights-request-request":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"workspace_id":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"social_account_id":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"resource_kind":{"type":"string","enum":["account","post"]},"provider_resource_id":{"type":"string","minLength":1,"maxLength":512},"start_date":{"type":"string","pattern":"^\\d{4}-\\d{2}-\\d{2}$"},"end_date":{"type":"string","pattern":"^\\d{4}-\\d{2}-\\d{2}$"},"include_audience":{"type":"boolean"},"refresh":{"type":"boolean"}},"required":["workspace_id","social_account_id","resource_kind"],"additionalProperties":false},"analytics-api-provider-insights-request-response":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"contract_version":{"type":"string","const":"provider-insights/v1"},"request_id":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"status":{"type":"string","enum":["queued","completed"]},"cache_status":{"type":"string","enum":["hit","miss","bypassed"]},"poll_after_ms":{"type":"integer","minimum":0,"maximum":60000},"result":{"type":"object","properties":{"contract_version":{"type":"string","const":"provider-insights/v1"},"request_id":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"platform":{"type":"string","enum":["facebook","instagram","threads","youtube"]},"resource":{"type":"object","properties":{"kind":{"type":"string","enum":["account","post"]},"social_account_id":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"provider_resource_id":{"anyOf":[{"type":"string"},{"type":"null"}]}},"required":["kind","social_account_id","provider_resource_id"]},"provider_api_version":{"type":"string","minLength":1,"maxLength":100},"fetched_at":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},"status":{"type":"string","enum":["available","partial","unavailable"]},"availability":{"minItems":1,"maxItems":64,"type":"array","items":{"type":"object","properties":{"scope":{"type":"string","minLength":1,"maxLength":200},"status":{"type":"string","enum":["available","partial","not_returned","unsupported","permission_required","threshold_not_met","no_data","failed"]},"reason":{"type":"string","minLength":1,"maxLength":2000}},"required":["scope","status"]}},"provider_data":{"anyOf":[{},{"type":"null"}]},"requested_date_range":{"anyOf":[{"type":"object","properties":{"start_date":{"type":"string","pattern":"^\\d{4}-\\d{2}-\\d{2}$"},"end_date":{"type":"string","pattern":"^\\d{4}-\\d{2}-\\d{2}$"}},"required":["start_date","end_date"]},{"type":"null"}]},"cache":{"type":"object","properties":{"authoritative":{"type":"boolean","const":false},"status":{"type":"string","enum":["stored","hit","bypassed"]},"expires_at":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"}},"required":["authoritative","status","expires_at"]}},"required":["contract_version","request_id","platform","resource","provider_api_version","fetched_at","status","availability","provider_data","requested_date_range","cache"]}},"required":["contract_version","request_id","status","cache_status","poll_after_ms"]},"analytics-api-provider-insights-status-request":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"workspace_id":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"request_id":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"}},"required":["workspace_id","request_id"],"additionalProperties":false},"analytics-api-provider-insights-status-response":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"contract_version":{"type":"string","const":"provider-insights/v1"},"request_id":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"status":{"type":"string","enum":["queued","processing","completed","failed"]},"attempt_count":{"type":"integer","minimum":0,"maximum":9007199254740991},"result":{"type":"object","properties":{"contract_version":{"type":"string","const":"provider-insights/v1"},"request_id":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"platform":{"type":"string","enum":["facebook","instagram","threads","youtube"]},"resource":{"type":"object","properties":{"kind":{"type":"string","enum":["account","post"]},"social_account_id":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"provider_resource_id":{"anyOf":[{"type":"string"},{"type":"null"}]}},"required":["kind","social_account_id","provider_resource_id"]},"provider_api_version":{"type":"string","minLength":1,"maxLength":100},"fetched_at":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},"status":{"type":"string","enum":["available","partial","unavailable"]},"availability":{"minItems":1,"maxItems":64,"type":"array","items":{"type":"object","properties":{"scope":{"type":"string","minLength":1,"maxLength":200},"status":{"type":"string","enum":["available","partial","not_returned","unsupported","permission_required","threshold_not_met","no_data","failed"]},"reason":{"type":"string","minLength":1,"maxLength":2000}},"required":["scope","status"]}},"provider_data":{"anyOf":[{},{"type":"null"}]},"requested_date_range":{"anyOf":[{"type":"object","properties":{"start_date":{"type":"string","pattern":"^\\d{4}-\\d{2}-\\d{2}$"},"end_date":{"type":"string","pattern":"^\\d{4}-\\d{2}-\\d{2}$"}},"required":["start_date","end_date"]},{"type":"null"}]},"cache":{"type":"object","properties":{"authoritative":{"type":"boolean","const":false},"status":{"type":"string","enum":["stored","hit","bypassed"]},"expires_at":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"}},"required":["authoritative","status","expires_at"]}},"required":["contract_version","request_id","platform","resource","provider_api_version","fetched_at","status","availability","provider_data","requested_date_range","cache"]},"error":{"type":"object","properties":{"code":{"type":"string","minLength":1,"maxLength":100},"reason":{"type":"string","minLength":1,"maxLength":2000},"retryable":{"type":"boolean"}},"required":["code","reason","retryable"]}},"required":["contract_version","request_id","status","attempt_count"]},"analytics-api-social-comments-query-request":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"workspace_id":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"cursor":{"type":"string","minLength":1,"maxLength":16384,"pattern":"^sa1\\.[A-Za-z0-9_-]+\\.[A-Za-z0-9_-]+$"},"page_size":{"type":"integer","minimum":1,"maximum":100},"filters":{"type":"object","properties":{"social_account_ids":{"minItems":1,"maxItems":50,"type":"array","items":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"}},"platforms":{"minItems":1,"maxItems":4,"type":"array","items":{"type":"string","enum":["instagram","facebook","threads","youtube"]}},"social_post_ids":{"minItems":1,"maxItems":100,"type":"array","items":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"}},"provider_post_ids":{"minItems":1,"maxItems":100,"type":"array","items":{"type":"string","minLength":1,"maxLength":512}},"scheduled_post_ids":{"minItems":1,"maxItems":100,"type":"array","items":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"}},"content_formats":{"minItems":1,"maxItems":20,"type":"array","items":{"type":"string","minLength":1,"maxLength":100}},"published_from":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},"published_to":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},"observed_from":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},"observed_to":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"}},"additionalProperties":false},"order":{"type":"string","const":"observation_at_desc_comment_version_desc_comment_observation_id_desc"}},"required":["workspace_id"],"additionalProperties":false},"analytics-api-social-comments-query-response":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"contract_version":{"type":"string","const":"social-analytics/v1"},"cursor_contract_version":{"type":"string","const":"social-analytics-keyset/v1"},"data":{"type":"array","items":{"type":"object","properties":{"social_comment_id":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"comment_observation_id":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"comment_version":{"type":"integer","minimum":1,"maximum":9007199254740991},"parent_social_comment_id":{"anyOf":[{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},{"type":"null"}]},"social_post_id":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"social_account_id":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"platform":{"type":"string","enum":["instagram","facebook","threads","youtube"]},"provider_post_id":{"type":"string","minLength":1,"maxLength":512},"provider_comment_id":{"type":"string","minLength":1,"maxLength":512},"provider_author_id":{"anyOf":[{"type":"string","minLength":1,"maxLength":512},{"type":"null"}]},"provider_author_username":{"anyOf":[{"type":"string","minLength":1,"maxLength":512},{"type":"null"}]},"text":{"anyOf":[{"type":"string","maxLength":20000},{"type":"null"}]},"provider_created_at":{"anyOf":[{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},{"type":"null"}]},"first_seen_at":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},"last_seen_at":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},"provider_state":{"type":"string","enum":["visible","deleted","unavailable","unknown"]},"observation_at":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},"raw_evidence":{"type":"object","properties":{"sanitised":{"type":"boolean","const":true},"sanitization_version":{"type":"string","const":"social-evidence/v1"},"sanitization_receipt":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"redacted_fields":{"maxItems":100,"type":"array","items":{"type":"string","minLength":1,"maxLength":200}},"payload":{"type":"object","propertyNames":{"type":"string","minLength":1,"maxLength":200},"additionalProperties":{"$ref":"#/components/schemas/analytics-api-social-comments-query-response/$defs/__schema0"}}},"required":["sanitised","sanitization_version","sanitization_receipt","redacted_fields","payload"]},"provenance":{"type":"object","properties":{"provider":{"type":"string","enum":["instagram","facebook","threads","youtube"]},"source":{"type":"string","enum":["provider_api","provider_webhook","publication_outcome","backfill"]},"source_job_id":{"anyOf":[{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},{"type":"null"}]},"provider_api_version":{"anyOf":[{"type":"string","minLength":1,"maxLength":200},{"type":"null"}]},"schema_version":{"anyOf":[{"type":"string","minLength":1,"maxLength":200},{"type":"null"}]}},"required":["provider","source","source_job_id","provider_api_version","schema_version"]}},"required":["social_comment_id","comment_observation_id","comment_version","parent_social_comment_id","social_post_id","social_account_id","platform","provider_post_id","provider_comment_id","provider_author_id","provider_author_username","text","provider_created_at","first_seen_at","last_seen_at","provider_state","observation_at","raw_evidence","provenance"]}},"next_cursor":{"anyOf":[{"type":"string","minLength":1,"maxLength":16384,"pattern":"^sa1\\.[A-Za-z0-9_-]+\\.[A-Za-z0-9_-]+$"},{"type":"null"}]}},"required":["contract_version","cursor_contract_version","data","next_cursor"],"$defs":{"__schema0":{"anyOf":[{"type":"string"},{"type":"number"},{"type":"boolean"},{"type":"null"},{"type":"array","items":{"$ref":"#/components/schemas/analytics-api-social-comments-query-response/$defs/__schema0"}},{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{"$ref":"#/components/schemas/analytics-api-social-comments-query-response/$defs/__schema0"}}]}}},"analytics-api-social-posts-query-request":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"workspace_id":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"cursor":{"type":"string","minLength":1,"maxLength":16384,"pattern":"^sa1\\.[A-Za-z0-9_-]+\\.[A-Za-z0-9_-]+$"},"page_size":{"type":"integer","minimum":1,"maximum":100},"filters":{"type":"object","properties":{"social_account_ids":{"minItems":1,"maxItems":50,"type":"array","items":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"}},"platforms":{"minItems":1,"maxItems":4,"type":"array","items":{"type":"string","enum":["instagram","facebook","threads","youtube"]}},"social_post_ids":{"minItems":1,"maxItems":100,"type":"array","items":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"}},"provider_post_ids":{"minItems":1,"maxItems":100,"type":"array","items":{"type":"string","minLength":1,"maxLength":512}},"scheduled_post_ids":{"minItems":1,"maxItems":100,"type":"array","items":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"}},"content_formats":{"minItems":1,"maxItems":20,"type":"array","items":{"type":"string","minLength":1,"maxLength":100}},"published_from":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},"published_to":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"}},"additionalProperties":false},"order":{"type":"string","const":"provider_published_at_desc_social_post_id_desc"}},"required":["workspace_id"],"additionalProperties":false},"analytics-api-social-posts-query-response":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"contract_version":{"type":"string","const":"social-analytics/v1"},"cursor_contract_version":{"type":"string","const":"social-analytics-keyset/v1"},"data":{"type":"array","items":{"type":"object","properties":{"social_post_id":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"workspace_id":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"social_account_id":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"platform":{"type":"string","enum":["instagram","facebook","threads","youtube"]},"provider_post_id":{"type":"string","minLength":1,"maxLength":512},"provider_published_at":{"anyOf":[{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},{"type":"null"}]},"content_format":{"anyOf":[{"type":"string","minLength":1,"maxLength":100},{"type":"null"}]},"permalink":{"anyOf":[{"type":"string","maxLength":2048,"format":"uri"},{"type":"null"}]},"provider_state":{"type":"string","enum":["available","deleted","unavailable","unknown"]},"first_seen_at":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},"last_seen_at":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},"scheduled_post_id":{"anyOf":[{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},{"type":"null"}]},"provenance":{"type":"object","properties":{"provider":{"type":"string","enum":["instagram","facebook","threads","youtube"]},"source":{"type":"string","enum":["provider_api","provider_webhook","publication_outcome","backfill"]},"source_job_id":{"anyOf":[{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},{"type":"null"}]},"provider_api_version":{"anyOf":[{"type":"string","minLength":1,"maxLength":200},{"type":"null"}]},"schema_version":{"anyOf":[{"type":"string","minLength":1,"maxLength":200},{"type":"null"}]}},"required":["provider","source","source_job_id","provider_api_version","schema_version"]}},"required":["social_post_id","workspace_id","social_account_id","platform","provider_post_id","provider_published_at","content_format","permalink","provider_state","first_seen_at","last_seen_at","scheduled_post_id","provenance"]}},"next_cursor":{"anyOf":[{"type":"string","minLength":1,"maxLength":16384,"pattern":"^sa1\\.[A-Za-z0-9_-]+\\.[A-Za-z0-9_-]+$"},{"type":"null"}]}},"required":["contract_version","cursor_contract_version","data","next_cursor"]},"assets-api-create-request":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"workspace_id":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"asset_type":{"type":"string","enum":["text","image","video"]},"asset_url":{"type":"string","minLength":1,"maxLength":2048},"title":{"type":"string","maxLength":200},"description":{"type":"string","maxLength":2000},"tags":{"maxItems":50,"type":"array","items":{"type":"string","maxLength":64}},"metadata":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{},"description":"Free-form JSON object; its serialized UTF-8 size must not exceed 16384 bytes."},"source":{"type":"string","maxLength":64},"source_metadata":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{},"description":"Free-form JSON object; its serialized UTF-8 size must not exceed 16384 bytes."},"idempotency_key":{"type":"string","minLength":8,"maxLength":160}},"required":["asset_type","asset_url"],"additionalProperties":false},"assets-api-create-response":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"asset":{"type":"object","properties":{"id":{"anyOf":[{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},{"type":"string"}]},"workspace_id":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"user_id":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"asset_type":{"type":"string","enum":["text","image","video","audio"]},"asset_url":{"anyOf":[{"type":"string"},{"type":"null"}]},"preview_url":{"description":"Workspace-authorized temporary read URL. Refresh through Asset read/list after preview_expires_at; keep asset_url as persisted media identity.","anyOf":[{"type":"string","format":"uri"},{"type":"null"}]},"preview_expires_at":{"anyOf":[{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z))$"},{"type":"null"}]},"title":{"anyOf":[{"type":"string"},{"type":"null"}]},"description":{"anyOf":[{"type":"string"},{"type":"null"}]},"tags":{"anyOf":[{"type":"array","items":{"type":"string"}},{"type":"null"}]},"metadata":{"anyOf":[{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{}},{"type":"null"}]},"source":{"anyOf":[{"type":"string"},{"type":"null"}]},"source_metadata":{"anyOf":[{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{}},{"type":"null"}]},"created_at":{"type":"string"},"version":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991}},"required":["id","workspace_id","user_id","asset_type","asset_url","title","description","tags","metadata","created_at"]},"deduped":{"type":"boolean"}},"required":["asset","deduped"]},"assets-api-delete-request":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"workspace_id":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"id":{"anyOf":[{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},{"type":"string"}]}},"required":["id"],"additionalProperties":false},"assets-api-delete-response":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"ok":{"type":"boolean","const":true}},"required":["ok"]},"assets-api-exports-create-request":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"workspace_id":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"mode":{"type":"string","enum":["export_only","export_verify_then_purge"]},"asset_ids":{"minItems":1,"maxItems":200,"type":"array","items":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991}},"idempotency_key":{"type":"string","minLength":8,"maxLength":160}},"required":["workspace_id","mode","asset_ids"]},"assets-api-exports-create-response":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"export_id":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"status":{"type":"string","enum":["exported","verification_required"]},"manifest_sha256":{"type":"string","pattern":"^[0-9a-f]{64}$"},"manifest_object_key":{"type":"string","minLength":1},"deduped":{"type":"boolean"}},"required":["export_id","status","manifest_sha256","manifest_object_key","deduped"]},"assets-api-exports-status-request":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"workspace_id":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"export_id":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"}},"required":["workspace_id","export_id"],"additionalProperties":false},"assets-api-exports-status-response":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"export_id":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"status":{"type":"string","enum":["exported","verification_required","verifying","verified","failed"]},"job_id":{"anyOf":[{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},{"type":"null"}]},"verification_error":{"anyOf":[{"type":"string"},{"type":"null"}]},"verification_cursor":{"type":"integer","minimum":0,"maximum":9007199254740991},"verified_at":{"anyOf":[{"type":"string"},{"type":"null"}]}},"required":["export_id","status","job_id","verification_error","verification_cursor","verified_at"]},"assets-api-exports-verify-request":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"workspace_id":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"export_id":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"}},"required":["workspace_id","export_id"]},"assets-api-exports-verify-response":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"export_id":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"job_id":{"anyOf":[{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},{"type":"null"}]},"status":{"type":"string","enum":["verifying","verified"]}},"required":["export_id","job_id","status"]},"assets-api-get-request":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"workspace_id":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"id":{"anyOf":[{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},{"type":"string"}]},"include_version":{"description":"Optional. true adds the resource version to the answer.","type":"boolean"}},"required":["id"],"additionalProperties":false},"assets-api-get-response":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"asset":{"type":"object","properties":{"id":{"anyOf":[{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},{"type":"string"}]},"workspace_id":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"user_id":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"asset_type":{"type":"string","enum":["text","image","video","audio"]},"asset_url":{"anyOf":[{"type":"string"},{"type":"null"}]},"preview_url":{"description":"Workspace-authorized temporary read URL. Refresh through Asset read/list after preview_expires_at; keep asset_url as persisted media identity.","anyOf":[{"type":"string","format":"uri"},{"type":"null"}]},"preview_expires_at":{"anyOf":[{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z))$"},{"type":"null"}]},"title":{"anyOf":[{"type":"string"},{"type":"null"}]},"description":{"anyOf":[{"type":"string"},{"type":"null"}]},"tags":{"anyOf":[{"type":"array","items":{"type":"string"}},{"type":"null"}]},"metadata":{"anyOf":[{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{}},{"type":"null"}]},"source":{"anyOf":[{"type":"string"},{"type":"null"}]},"source_metadata":{"anyOf":[{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{}},{"type":"null"}]},"created_at":{"type":"string"},"version":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991}},"required":["id","workspace_id","user_id","asset_type","asset_url","title","description","tags","metadata","created_at"]}},"required":["asset"]},"assets-api-imports-status-request":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"workspace_id":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"import_id":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"include_asset":{"type":"boolean"}},"required":["workspace_id","import_id"],"additionalProperties":false},"assets-api-imports-status-response":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"import":{"type":"object","properties":{"id":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"status":{"type":"string","enum":["queued","importing","needs_repair","ready","asset_purged","failed"]},"job_id":{"anyOf":[{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},{"type":"null"}]},"asset_id":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"null"}]},"completed_asset_id":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"null"}]},"asset_purged_at":{"anyOf":[{"type":"string"},{"type":"null"}]},"source_url":{"type":"string","format":"uri"},"final_url":{"anyOf":[{"type":"string","format":"uri"},{"type":"null"}]},"object_key":{"anyOf":[{"type":"string","minLength":1},{"type":"null"}]},"content_type":{"anyOf":[{"type":"string","minLength":1},{"type":"null"}]},"byte_size":{"anyOf":[{"type":"integer","minimum":0,"maximum":9007199254740991},{"type":"null"}]},"content_sha256":{"anyOf":[{"type":"string","pattern":"^[0-9a-f]{64}$"},{"type":"null"}]},"media_probe":{"anyOf":[{"$ref":"#/components/schemas/assets-api-imports-status-response/$defs/__schema0"},{"type":"null"}]},"error_message":{"anyOf":[{"type":"string"},{"type":"null"}]},"created_at":{"type":"string"},"completed_at":{"anyOf":[{"type":"string"},{"type":"null"}]}},"required":["id","status","job_id","asset_id","completed_asset_id","asset_purged_at","source_url","final_url","object_key","content_type","byte_size","content_sha256","media_probe","error_message","created_at","completed_at"]},"asset":{"anyOf":[{"type":"object","properties":{"id":{"anyOf":[{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},{"type":"string"}]},"asset_type":{"type":"string","enum":["text","image","video","audio"]},"asset_url":{"anyOf":[{"type":"string"},{"type":"null"}]}},"required":["id","asset_type","asset_url"]},{"type":"null"}]}},"required":["import"],"$defs":{"__schema0":{"anyOf":[{"type":"string"},{"type":"number"},{"type":"boolean"},{"type":"null"},{"type":"array","items":{"$ref":"#/components/schemas/assets-api-imports-status-response/$defs/__schema0"}},{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{"$ref":"#/components/schemas/assets-api-imports-status-response/$defs/__schema0"}}]}}},"assets-api-imports-url-request":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"workspace_id":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"source_url":{"type":"string","maxLength":2048,"format":"uri"},"idempotency_key":{"type":"string","minLength":1,"maxLength":128},"expected_kind":{"type":"string","enum":["image","video"]},"title":{"type":"string","maxLength":200},"description":{"type":"string","maxLength":2000},"tags":{"maxItems":50,"type":"array","items":{"type":"string","maxLength":64}}},"required":["workspace_id","source_url","idempotency_key"],"additionalProperties":false},"assets-api-imports-url-response":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"import_id":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"job_id":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"status":{"type":"string","enum":["queued","importing","needs_repair","ready","asset_purged","failed"]}},"required":["import_id","job_id","status"]},"assets-api-list-request":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"workspace_id":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"asset_type":{"anyOf":[{"type":"string","enum":["text","image","video","audio"]},{"type":"array","items":{"type":"string","enum":["text","image","video","audio"]}}]},"source":{"type":"string","maxLength":64},"tag":{"type":"string","maxLength":64},"limit":{"type":"integer","minimum":1,"maximum":100},"offset":{"description":"Rows to skip. Served up to 100000; beyond it 400 OFFSET_TOO_LARGE. Prefer filters to paging deep.","type":"integer","minimum":0,"maximum":9007199254740991},"include_version":{"description":"Optional. true adds the resource version to the answer.","type":"boolean"}},"additionalProperties":false},"assets-api-list-response":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"assets":{"type":"array","items":{"type":"object","properties":{"id":{"anyOf":[{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},{"type":"string"}]},"workspace_id":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"user_id":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"asset_type":{"type":"string","enum":["text","image","video","audio"]},"asset_url":{"anyOf":[{"type":"string"},{"type":"null"}]},"preview_url":{"description":"Workspace-authorized temporary read URL. Refresh through Asset read/list after preview_expires_at; keep asset_url as persisted media identity.","anyOf":[{"type":"string","format":"uri"},{"type":"null"}]},"preview_expires_at":{"anyOf":[{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z))$"},{"type":"null"}]},"title":{"anyOf":[{"type":"string"},{"type":"null"}]},"description":{"anyOf":[{"type":"string"},{"type":"null"}]},"tags":{"anyOf":[{"type":"array","items":{"type":"string"}},{"type":"null"}]},"metadata":{"anyOf":[{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{}},{"type":"null"}]},"source":{"anyOf":[{"type":"string"},{"type":"null"}]},"source_metadata":{"anyOf":[{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{}},{"type":"null"}]},"created_at":{"type":"string"},"version":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991}},"required":["id","workspace_id","user_id","asset_type","asset_url","title","description","tags","metadata","created_at"]}},"total":{"type":"integer","minimum":0,"maximum":9007199254740991}},"required":["assets","total"]},"assets-api-list-workspace-request":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"workspace_id":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"kind":{"type":"string","enum":["video","image","audio","cover","thumbnail","frame","video-source","branding"]},"customer_ready_only":{"default":false,"type":"boolean"},"limit":{"default":24,"type":"integer","minimum":1,"maximum":100},"offset":{"default":0,"description":"Rows to skip. Served up to 100000; beyond it 400 OFFSET_TOO_LARGE.","type":"integer","minimum":0,"maximum":9007199254740991}},"required":["workspace_id"]},"assets-api-list-workspace-response":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"assets":{"type":"array","items":{"type":"object","properties":{"id":{"anyOf":[{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},{"type":"string"}]},"asset_type":{"type":"string","enum":["text","image","video","audio"]},"asset_url":{"anyOf":[{"type":"string","format":"uri"},{"type":"null"}]},"preview_url":{"description":"Workspace-authorized temporary read URL. Refresh through Asset read/list after preview_expires_at; keep asset_url as persisted media identity.","anyOf":[{"type":"string","format":"uri"},{"type":"null"}]},"preview_expires_at":{"anyOf":[{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z))$"},{"type":"null"}]},"title":{"anyOf":[{"type":"string"},{"type":"null"}]},"description":{"anyOf":[{"type":"string"},{"type":"null"}]},"tags":{"anyOf":[{"type":"array","items":{"type":"string"}},{"type":"null"}]},"created_at":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},"readiness":{"type":"object","properties":{"status":{"type":"string","enum":["ready","not_ready"]},"reason_code":{"type":"string","enum":["ready","unsupported_kind","missing_registered_media","untrusted_workspace_object","media_probe_missing_or_invalid"]},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["status","reason_code","message"]}},"required":["id","asset_type","asset_url","title","description","tags","created_at","readiness"]}},"total":{"type":"integer","minimum":0,"maximum":9007199254740991},"next_offset":{"anyOf":[{"type":"integer","minimum":0,"maximum":9007199254740991},{"type":"null"}]}},"required":["assets","total","next_offset"]},"assets-api-orphans-delete-request":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"workspace_id":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"keys":{"minItems":1,"maxItems":50,"type":"array","items":{"type":"string","minLength":1,"maxLength":512}}},"required":["workspace_id","keys"]},"assets-api-orphans-delete-response":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"results":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string","minLength":1},"status":{"type":"string","enum":["deleted","not_orphan","not_eligible","not_in_workspace","error"]}},"required":["key","status"]}}},"required":["results"]},"assets-api-orphans-list-request":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"workspace_id":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"object_continuation_token":{"type":"string","minLength":1,"maxLength":2048},"continuation_token":{"type":"string","minLength":1,"maxLength":2048},"limit":{"default":100,"type":"integer","minimum":1,"maximum":200}},"required":["workspace_id"]},"assets-api-orphans-list-response":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"orphans":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string","minLength":1},"kind":{"anyOf":[{"type":"string","enum":["video","image","audio","cover","thumbnail","frame","video-source","branding"]},{"type":"null"}]},"size":{"type":"integer","minimum":0,"maximum":9007199254740991},"lastModified":{"type":"string"},"eligible_for_cleanup":{"type":"boolean"}},"required":["key","kind","size","lastModified","eligible_for_cleanup"]}},"total":{"type":"integer","minimum":0,"maximum":9007199254740991},"next_object_continuation_token":{"anyOf":[{"type":"string"},{"type":"null"}]},"continuation_token":{"anyOf":[{"type":"string"},{"type":"null"}]}},"required":["orphans","total","next_object_continuation_token","continuation_token"]},"assets-api-purges-request-request":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"workspace_id":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"export_id":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"asset_ids":{"minItems":1,"maxItems":200,"type":"array","items":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991}},"confirm_history_loss":{"default":false,"type":"boolean"},"idempotency_key":{"type":"string","minLength":8,"maxLength":160}},"required":["workspace_id","export_id","asset_ids"]},"assets-api-purges-request-response":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"purge_request_id":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"job_id":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"status":{"type":"string","enum":["requested","claimed","deleting_bytes","needs_repair","purged","failed","cancelled"]},"classifications":{"type":"array","items":{"type":"object","properties":{"asset_id":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},"classification":{"type":"string","enum":["safe","warning_history","blocked_active"]}},"required":["asset_id","classification"]}},"deduped":{"type":"boolean"}},"required":["purge_request_id","job_id","status","classifications","deduped"]},"assets-api-purges-retry-request":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"workspace_id":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"purge_request_id":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"idempotency_key":{"type":"string","minLength":8,"maxLength":160}},"required":["workspace_id","purge_request_id"],"additionalProperties":false},"assets-api-purges-retry-response":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"purge_request_id":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"job_id":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"status":{"type":"string","enum":["requested","claimed","deleting_bytes","needs_repair","purged","failed","cancelled"]},"deduped":{"type":"boolean"}},"required":["purge_request_id","job_id","status","deduped"]},"assets-api-storage-inventory-request":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"workspace_id":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"asset_cursor":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},"object_continuation_token":{"type":"string","minLength":1,"maxLength":2048},"continuation_token":{"type":"string","minLength":1,"maxLength":2048},"limit":{"default":100,"type":"integer","minimum":1,"maximum":200}},"required":["workspace_id"]},"assets-api-storage-inventory-response":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"assets":{"type":"array","items":{"type":"object","properties":{"id":{"anyOf":[{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},{"type":"string"}]},"object_key":{"anyOf":[{"type":"string"},{"type":"null"}]},"classification":{"type":"string","enum":["safe","warning_history","blocked_active"]}},"required":["id","object_key","classification"]}},"objects":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string","minLength":1},"size":{"type":"integer","minimum":0,"maximum":9007199254740991},"lastModified":{"type":"string"}},"required":["key","size","lastModified"]}},"next_asset_cursor":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"null"}]},"next_object_continuation_token":{"anyOf":[{"type":"string"},{"type":"null"}]},"continuation_token":{"anyOf":[{"type":"string"},{"type":"null"}]}},"required":["assets","objects","next_asset_cursor","next_object_continuation_token","continuation_token"]},"assets-api-update-request":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"workspace_id":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"id":{"anyOf":[{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},{"type":"string"}]},"title":{"type":"string","maxLength":200},"description":{"type":"string","maxLength":2000},"tags":{"maxItems":50,"type":"array","items":{"type":"string","maxLength":64}},"expected_version":{"description":"Optional. The version you read. If it changed since, the update fails with 409 VERSION_CONFLICT instead of overwriting.","type":"integer","exclusiveMinimum":0,"maximum":2147483647},"include_version":{"description":"Optional. true adds the resource version to the answer.","type":"boolean"}},"required":["id"],"additionalProperties":false},"assets-api-update-response":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"asset":{"type":"object","properties":{"id":{"anyOf":[{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},{"type":"string"}]},"workspace_id":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"user_id":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"asset_type":{"type":"string","enum":["text","image","video","audio"]},"asset_url":{"anyOf":[{"type":"string"},{"type":"null"}]},"preview_url":{"description":"Workspace-authorized temporary read URL. Refresh through Asset read/list after preview_expires_at; keep asset_url as persisted media identity.","anyOf":[{"type":"string","format":"uri"},{"type":"null"}]},"preview_expires_at":{"anyOf":[{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z))$"},{"type":"null"}]},"title":{"anyOf":[{"type":"string"},{"type":"null"}]},"description":{"anyOf":[{"type":"string"},{"type":"null"}]},"tags":{"anyOf":[{"type":"array","items":{"type":"string"}},{"type":"null"}]},"metadata":{"anyOf":[{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{}},{"type":"null"}]},"source":{"anyOf":[{"type":"string"},{"type":"null"}]},"source_metadata":{"anyOf":[{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{}},{"type":"null"}]},"created_at":{"type":"string"},"version":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991}},"required":["id","workspace_id","user_id","asset_type","asset_url","title","description","tags","metadata","created_at"]}},"required":["asset"]},"assets-api-upload-complete-request":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"workspace_id":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"asset_type":{"type":"string","enum":["image","video"]},"object_key":{"type":"string","minLength":1,"maxLength":512},"content_sha256":{"type":"string","pattern":"^[0-9a-f]{64}$"},"title":{"type":"string","maxLength":200},"description":{"type":"string","maxLength":2000},"tags":{"maxItems":50,"type":"array","items":{"type":"string","maxLength":64}},"metadata":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{},"description":"Free-form JSON object; its serialized UTF-8 size must not exceed 16384 bytes."},"source":{"default":"mcp_upload","type":"string","maxLength":64},"source_metadata":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{},"description":"Free-form JSON object; its serialized UTF-8 size must not exceed 16384 bytes."},"idempotency_key":{"type":"string","minLength":8,"maxLength":160}},"required":["workspace_id","asset_type","object_key","content_sha256"],"additionalProperties":false},"assets-api-upload-complete-response":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"asset":{"type":"object","properties":{"id":{"anyOf":[{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},{"type":"string"}]},"workspace_id":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"user_id":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"asset_type":{"type":"string","enum":["text","image","video","audio"]},"asset_url":{"anyOf":[{"type":"string"},{"type":"null"}]},"preview_url":{"description":"Workspace-authorized temporary read URL. Refresh through Asset read/list after preview_expires_at; keep asset_url as persisted media identity.","anyOf":[{"type":"string","format":"uri"},{"type":"null"}]},"preview_expires_at":{"anyOf":[{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z))$"},{"type":"null"}]},"title":{"anyOf":[{"type":"string"},{"type":"null"}]},"description":{"anyOf":[{"type":"string"},{"type":"null"}]},"tags":{"anyOf":[{"type":"array","items":{"type":"string"}},{"type":"null"}]},"metadata":{"anyOf":[{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{}},{"type":"null"}]},"source":{"anyOf":[{"type":"string"},{"type":"null"}]},"source_metadata":{"anyOf":[{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{}},{"type":"null"}]},"created_at":{"type":"string"},"version":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991}},"required":["id","workspace_id","user_id","asset_type","asset_url","title","description","tags","metadata","created_at"]},"deduped":{"type":"boolean"}},"required":["asset","deduped"]},"assets-api-upload-sign-request":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"workspace_id":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"asset_type":{"type":"string","enum":["image","video"]},"filename":{"type":"string","minLength":1,"maxLength":256},"content_type":{"type":"string","minLength":1,"maxLength":120},"byte_size":{"type":"integer","minimum":1,"maximum":524288000,"description":"Exact length in bytes of the body you will PUT (max 500 MiB). It is signed into the upload URL as Content-Length, counted against the workspace storage limit, and checked again when you complete the upload: an object longer than declared is rejected and removed."},"content_sha256":{"type":"string","pattern":"^[0-9a-f]{64}$"},"title":{"type":"string","maxLength":200}},"required":["workspace_id","asset_type","filename","content_type","byte_size","content_sha256"],"additionalProperties":false},"assets-api-upload-sign-response":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"object_key":{"type":"string","minLength":1},"public_url":{"type":"string","format":"uri"},"signed_url":{"type":"string","format":"uri"},"upload_headers":{"type":"object","properties":{"Content-Type":{"type":"string","minLength":1},"x-amz-checksum-sha256":{"type":"string","minLength":1}},"required":["Content-Type","x-amz-checksum-sha256"]},"expires_seconds":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991}},"required":["object_key","public_url","signed_url","upload_headers","expires_seconds"]},"identity-api-agent-auth-config-request":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{},"additionalProperties":false},"identity-api-agent-auth-config-response":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"client_id":{"type":"string","minLength":1},"client_name":{"type":"string","minLength":1},"redirect_uri":{"type":"string","const":"http://127.0.0.1:8789/oauth/callback"},"authorization_endpoint":{"type":"string","format":"uri"},"token_endpoint":{"type":"string","format":"uri"},"scopes":{"type":"string","minLength":1}},"required":["client_id","client_name","redirect_uri","authorization_endpoint","token_endpoint","scopes"]},"identity-api-agent-auth-request-request":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"client_name":{"type":"string","minLength":1,"maxLength":80},"device_name":{"type":"string","minLength":1,"maxLength":120},"callback_uri":{"anyOf":[{"type":"string","const":"http://127.0.0.1:8789/grant/callback"},{"type":"string","maxLength":2048,"format":"uri","pattern":"^https:\\/\\/.*"}]},"callback_state":{"type":"string","minLength":32,"maxLength":256}},"required":["client_name","device_name","callback_uri","callback_state"],"additionalProperties":false},"identity-api-agent-auth-request-response":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"request_id":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"approval_url":{"type":"string","format":"uri"},"expires_in":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991}},"required":["request_id","approval_url","expires_in"]},"identity-api-agent-auth-revoke-current-request":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{},"additionalProperties":false},"identity-api-agent-auth-revoke-current-response":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"ok":{"type":"boolean","const":true}},"required":["ok"]},"identity-api-agent-auth-session-request":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{},"additionalProperties":false},"identity-api-agent-auth-session-response":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"grant_status":{"type":"string","enum":["active","missing"]}},"required":["grant_status"]},"community-engagement-api-actions-apply-request":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"workspace_id":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"prepare_token":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"}},"required":["workspace_id","prepare_token"],"additionalProperties":false},"community-engagement-api-actions-apply-response":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"contract_version":{"type":"string","const":"community-engagement/v1"},"action":{"type":"object","properties":{"id":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"workspace_id":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"social_account_id":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"social_post_id":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"social_comment_id":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"platform":{"type":"string","enum":["facebook","instagram","threads","youtube"]},"provider_post_id":{"type":"string","minLength":1,"maxLength":512},"provider_comment_id":{"type":"string","minLength":1,"maxLength":512},"action":{"type":"string","enum":["reply","hide","unhide"]},"desired_hidden":{"anyOf":[{"type":"boolean"},{"type":"null"}]},"draft_sha256":{"type":"string","pattern":"^[a-f0-9]{64}$"},"idempotency_key":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"status":{"type":"string","enum":["queued","executing","succeeded","attention","failed"]},"attempt_count":{"type":"integer","minimum":0,"maximum":9007199254740991},"provider_evidence":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{}},"created_at":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},"updated_at":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},"terminal_at":{"anyOf":[{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},{"type":"null"}]}},"required":["id","workspace_id","social_account_id","social_post_id","social_comment_id","platform","provider_post_id","provider_comment_id","action","desired_hidden","draft_sha256","idempotency_key","status","attempt_count","provider_evidence","created_at","updated_at","terminal_at"]}},"required":["contract_version","action"]},"community-engagement-api-actions-prepare-request":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"workspace_id":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"review_id":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"expected_review_version":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},"action":{"type":"string","enum":["reply","hide","unhide"]},"reply_draft":{"type":"string","minLength":1,"maxLength":2000},"idempotency_key":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"}},"required":["workspace_id","review_id","expected_review_version","action","idempotency_key"],"additionalProperties":false},"community-engagement-api-actions-prepare-response":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"contract_version":{"type":"string","const":"community-engagement/v1"},"prepared":{"type":"object","properties":{"prepare_token":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"expires_at":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},"binding":{"type":"object","properties":{"workspace_id":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"social_account_id":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"social_post_id":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"social_comment_id":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"platform":{"type":"string","enum":["facebook","instagram","threads","youtube"]},"provider_post_id":{"type":"string","minLength":1,"maxLength":512},"provider_comment_id":{"type":"string","minLength":1,"maxLength":512},"action":{"type":"string","enum":["reply","hide","unhide"]},"desired_hidden":{"anyOf":[{"type":"boolean"},{"type":"null"}]},"draft_sha256":{"type":"string","pattern":"^[a-f0-9]{64}$"},"idempotency_key":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"}},"required":["workspace_id","social_account_id","social_post_id","social_comment_id","platform","provider_post_id","provider_comment_id","action","desired_hidden","draft_sha256","idempotency_key"]}},"required":["prepare_token","expires_at","binding"]}},"required":["contract_version","prepared"]},"community-engagement-api-actions-status-request":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"workspace_id":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"action_id":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"}},"required":["workspace_id","action_id"],"additionalProperties":false},"community-engagement-api-actions-status-response":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"contract_version":{"type":"string","const":"community-engagement/v1"},"action":{"type":"object","properties":{"id":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"workspace_id":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"social_account_id":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"social_post_id":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"social_comment_id":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"platform":{"type":"string","enum":["facebook","instagram","threads","youtube"]},"provider_post_id":{"type":"string","minLength":1,"maxLength":512},"provider_comment_id":{"type":"string","minLength":1,"maxLength":512},"action":{"type":"string","enum":["reply","hide","unhide"]},"desired_hidden":{"anyOf":[{"type":"boolean"},{"type":"null"}]},"draft_sha256":{"type":"string","pattern":"^[a-f0-9]{64}$"},"idempotency_key":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"status":{"type":"string","enum":["queued","executing","succeeded","attention","failed"]},"attempt_count":{"type":"integer","minimum":0,"maximum":9007199254740991},"provider_evidence":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{}},"created_at":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},"updated_at":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},"terminal_at":{"anyOf":[{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},{"type":"null"}]}},"required":["id","workspace_id","social_account_id","social_post_id","social_comment_id","platform","provider_post_id","provider_comment_id","action","desired_hidden","draft_sha256","idempotency_key","status","attempt_count","provider_evidence","created_at","updated_at","terminal_at"]},"receipt":{"anyOf":[{"type":"object","properties":{"action_id":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"status":{"type":"string","enum":["succeeded","attention","failed"]},"provider_evidence":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{}},"terminal_at":{"anyOf":[{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},{"type":"null"}]},"attention_reason":{"anyOf":[{"type":"string"},{"type":"null"}]}},"required":["action_id","status","provider_evidence","terminal_at","attention_reason"]},{"type":"null"}]}},"required":["contract_version","action","receipt"]},"community-engagement-api-capabilities-request":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"workspace_id":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"social_account_ids":{"minItems":1,"maxItems":50,"type":"array","items":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"}},"platforms":{"minItems":1,"maxItems":4,"type":"array","items":{"type":"string","enum":["facebook","instagram","threads","youtube"]}}},"required":["workspace_id"],"additionalProperties":false},"community-engagement-api-capabilities-response":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"contract_version":{"type":"string","const":"community-engagement/v1"},"data":{"maxItems":50,"type":"array","items":{"type":"object","properties":{"workspace_id":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"social_account_id":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"platform":{"type":"string","enum":["facebook","instagram","threads","youtube"]},"supported_actions":{"type":"array","items":{"type":"string","enum":["reply","hide","unhide","create_comment"]}},"unsupported_actions":{"type":"array","items":{"type":"string","minLength":1,"maxLength":80}},"lane_mode":{"type":"string","enum":["off","canary","on"]},"eligible_now":{"type":"boolean"},"reason":{"anyOf":[{"type":"string"},{"type":"null"}]}},"required":["workspace_id","social_account_id","platform","supported_actions","unsupported_actions","lane_mode","eligible_now","reason"]}}},"required":["contract_version","data"]},"community-engagement-api-comments-create-request":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"workspace_id":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"social_account_id":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"target":{"oneOf":[{"type":"object","properties":{"kind":{"type":"string","const":"post"},"social_post_id":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"}},"required":["kind","social_post_id"],"additionalProperties":false},{"type":"object","properties":{"kind":{"type":"string","const":"comment"},"social_comment_id":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"}},"required":["kind","social_comment_id"],"additionalProperties":false}]},"message":{"type":"string","minLength":1,"maxLength":2000},"idempotency_key":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"}},"required":["workspace_id","social_account_id","target","message","idempotency_key"],"additionalProperties":false},"community-engagement-api-comments-create-response":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"contract_version":{"type":"string","const":"community-engagement/v1"},"replayed":{"type":"boolean"},"action":{"type":"object","properties":{"action_id":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"workspace_id":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"social_account_id":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"target":{"oneOf":[{"type":"object","properties":{"kind":{"type":"string","const":"post"},"social_post_id":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"}},"required":["kind","social_post_id"]},{"type":"object","properties":{"kind":{"type":"string","const":"comment"},"social_post_id":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"social_comment_id":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"}},"required":["kind","social_post_id","social_comment_id"]}]},"content_sha256":{"type":"string","pattern":"^[a-f0-9]{64}$"},"idempotency_key":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"status":{"type":"string","enum":["queued","executing","succeeded","attention","failed"]},"poll_after_ms":{"type":"integer","minimum":0,"maximum":300000}},"required":["action_id","workspace_id","social_account_id","target","content_sha256","idempotency_key","status","poll_after_ms"]}},"required":["contract_version","replayed","action"]},"community-engagement-api-comments-outcome-request":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"workspace_id":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"action_id":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"}},"required":["workspace_id","action_id"],"additionalProperties":false},"community-engagement-api-comments-outcome-response":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"contract_version":{"type":"string","const":"community-engagement/v1"},"action_id":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"status":{"type":"string","enum":["queued","executing","succeeded","attention","failed"]},"execution_stage":{"type":"string","enum":["execute","verify"]},"verification_count":{"type":"integer","minimum":0,"maximum":9007199254740991},"verification_evidence":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{}},"delivery_outcome":{"type":"string","enum":["confirmed","recovered","not_attempted","unknown"]},"follow_up_required":{"type":"boolean"},"resolution":{"anyOf":[{"type":"object","properties":{"action_id":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"workspace_id":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"kind":{"type":"string","enum":["confirmed_delivery","confirmed_replacement"]},"replacement_action_id":{"anyOf":[{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},{"type":"null"}]},"evidence":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{}},"created_by":{"anyOf":[{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},{"type":"null"}]},"created_at":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"}},"required":["action_id","workspace_id","kind","replacement_action_id","evidence","created_by","created_at"]},{"type":"null"}]}},"required":["contract_version","action_id","status","execution_stage","verification_count","verification_evidence","delivery_outcome","follow_up_required","resolution"]},"community-engagement-api-comments-reconcile-request":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"workspace_id":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"action_id":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"idempotency_key":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"replacement_action_id":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"}},"required":["workspace_id","action_id","idempotency_key"],"additionalProperties":false},"community-engagement-api-comments-reconcile-response":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"contract_version":{"type":"string","const":"community-engagement/v1"},"action_id":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"status":{"type":"string","enum":["queued","executing","succeeded","attention","failed"]},"execution_stage":{"type":"string","enum":["execute","verify"]},"verification_count":{"type":"integer","minimum":0,"maximum":9007199254740991},"verification_evidence":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{}},"delivery_outcome":{"type":"string","enum":["confirmed","recovered","not_attempted","unknown"]},"follow_up_required":{"type":"boolean"},"resolution":{"anyOf":[{"type":"object","properties":{"action_id":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"workspace_id":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"kind":{"type":"string","enum":["confirmed_delivery","confirmed_replacement"]},"replacement_action_id":{"anyOf":[{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},{"type":"null"}]},"evidence":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{}},"created_by":{"anyOf":[{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},{"type":"null"}]},"created_at":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"}},"required":["action_id","workspace_id","kind","replacement_action_id","evidence","created_by","created_at"]},{"type":"null"}]}},"required":["contract_version","action_id","status","execution_stage","verification_count","verification_evidence","delivery_outcome","follow_up_required","resolution"]},"community-engagement-api-comments-status-request":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"workspace_id":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"action_id":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"}},"required":["workspace_id","action_id"],"additionalProperties":false},"community-engagement-api-comments-status-response":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"contract_version":{"type":"string","const":"community-engagement/v1"},"action":{"type":"object","properties":{"action_id":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"workspace_id":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"social_account_id":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"target":{"oneOf":[{"type":"object","properties":{"kind":{"type":"string","const":"post"},"social_post_id":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"}},"required":["kind","social_post_id"]},{"type":"object","properties":{"kind":{"type":"string","const":"comment"},"social_post_id":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"social_comment_id":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"}},"required":["kind","social_post_id","social_comment_id"]}]},"content_sha256":{"type":"string","pattern":"^[a-f0-9]{64}$"},"idempotency_key":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"status":{"type":"string","enum":["queued","executing","succeeded","attention","failed"]},"attempt_count":{"type":"integer","minimum":0,"maximum":9007199254740991},"created_at":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},"updated_at":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"}},"required":["action_id","workspace_id","social_account_id","target","content_sha256","idempotency_key","status","attempt_count","created_at","updated_at"]},"receipt":{"anyOf":[{"type":"object","properties":{"action_id":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"status":{"type":"string","enum":["succeeded","attention","failed"]},"provider_terminal":{"type":"boolean"},"provider_comment_id":{"anyOf":[{"type":"string","minLength":1,"maxLength":512},{"type":"null"}]},"terminal_at":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},"attention_reason":{"anyOf":[{"type":"string","maxLength":500},{"type":"null"}]}},"required":["action_id","status","provider_terminal","provider_comment_id","terminal_at","attention_reason"]},{"type":"null"}]}},"required":["contract_version","action","receipt"]},"community-engagement-api-operations-summary-request":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"workspace_id":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"}},"required":["workspace_id"],"additionalProperties":false},"community-engagement-api-operations-summary-response":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"contract_version":{"type":"string","const":"community-engagement/v1"},"summary":{"type":"object","properties":{"lane_mode":{"type":"string","enum":["off","canary","on"]},"backlog":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{"type":"integer","minimum":0,"maximum":9007199254740991}},"response_time_seconds":{"type":"object","properties":{"median":{"anyOf":[{"type":"number"},{"type":"null"}]},"p95":{"anyOf":[{"type":"number"},{"type":"null"}]}},"required":["median","p95"]},"action_statuses":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{"type":"integer","minimum":0,"maximum":9007199254740991}},"provider_rate":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{"type":"integer","minimum":0,"maximum":9007199254740991}},"partial_failure_count":{"type":"integer","minimum":0,"maximum":9007199254740991},"known_common_dependencies":{"type":"array","items":{"type":"string"}}},"required":["lane_mode","backlog","response_time_seconds","action_statuses","provider_rate","partial_failure_count","known_common_dependencies"]}},"required":["contract_version","summary"]},"community-engagement-api-review-queue-query-request":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"workspace_id":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"filters":{"type":"object","properties":{"actionable":{"type":"boolean"},"unanswered":{"type":"boolean"},"priorities":{"minItems":1,"maxItems":5,"type":"array","items":{"type":"integer","minimum":1,"maximum":5}},"languages":{"minItems":1,"maxItems":20,"type":"array","items":{"type":"string","minLength":2,"maxLength":35}},"social_account_ids":{"minItems":1,"maxItems":50,"type":"array","items":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"}},"platforms":{"minItems":1,"maxItems":4,"type":"array","items":{"type":"string","enum":["facebook","instagram","threads","youtube"]}},"max_age_hours":{"type":"integer","minimum":1,"maximum":8760},"dispositions":{"minItems":1,"maxItems":4,"type":"array","items":{"type":"string","enum":["open","ready","dismissed","no_reply"]}}},"additionalProperties":false},"cursor":{"type":"string","minLength":16,"maxLength":4096},"page_size":{"type":"integer","minimum":1,"maximum":100}},"required":["workspace_id"],"additionalProperties":false},"community-engagement-api-review-queue-query-response":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"contract_version":{"type":"string","const":"community-engagement/v1"},"cursor_contract_version":{"type":"string","const":"community-engagement-keyset/v1"},"data":{"type":"array","items":{"type":"object","properties":{"review":{"type":"object","properties":{"id":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"workspace_id":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"social_account_id":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"social_post_id":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"social_comment_id":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"platform":{"type":"string","enum":["facebook","instagram","threads","youtube"]},"review_version":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},"language":{"anyOf":[{"type":"string"},{"type":"null"}]},"audience_persona_hint":{"anyOf":[{"type":"string"},{"type":"null"}]},"confidence":{"type":"number","minimum":0.9,"maximum":1},"provenance":{"type":"object","properties":{"evidence_comment_observation_ids":{"minItems":1,"maxItems":20,"type":"array","items":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"}},"source":{"type":"string","const":"upstream_agent"},"source_model":{"type":"string","minLength":1,"maxLength":160},"evidence_note":{"type":"string","minLength":1,"maxLength":1000}},"required":["evidence_comment_observation_ids","source"]},"priority":{"type":"integer","minimum":1,"maximum":5},"recommended_action":{"type":"string","enum":["reply","hide","unhide","no_reply","dismiss"]},"reply_draft":{"anyOf":[{"type":"string"},{"type":"null"}]},"disposition":{"type":"string","enum":["open","ready","dismissed","no_reply"]},"assignee_user_id":{"anyOf":[{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},{"type":"null"}]},"created_at":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},"updated_at":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"}},"required":["id","workspace_id","social_account_id","social_post_id","social_comment_id","platform","review_version","language","audience_persona_hint","confidence","provenance","priority","recommended_action","reply_draft","disposition","assignee_user_id","created_at","updated_at"]},"current_action":{"anyOf":[{"type":"object","properties":{"id":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"action":{"type":"string","enum":["reply","hide","unhide"]},"status":{"type":"string","enum":["queued","executing","succeeded","attention","failed"]},"attention_reason":{"anyOf":[{"type":"string"},{"type":"null"}]},"updated_at":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},"terminal_at":{"anyOf":[{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},{"type":"null"}]}},"required":["id","action","status","attention_reason","updated_at","terminal_at"]},{"type":"null"}]},"post":{"type":"object","properties":{"provider_post_id":{"type":"string","minLength":1,"maxLength":512},"permalink":{"anyOf":[{"type":"string","format":"uri"},{"type":"null"}]}},"required":["provider_post_id","permalink"]},"comment":{"type":"object","properties":{"provider_comment_id":{"type":"string","minLength":1,"maxLength":512},"parent_social_comment_id":{"anyOf":[{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},{"type":"null"}]},"body":{"anyOf":[{"type":"string"},{"type":"null"}]},"provider_state":{"type":"string","minLength":1,"maxLength":80},"provider_created_at":{"anyOf":[{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},{"type":"null"}]},"source_permalink":{"anyOf":[{"type":"string","format":"uri"},{"type":"null"}]}},"required":["provider_comment_id","parent_social_comment_id","body","provider_state","provider_created_at","source_permalink"]},"thread_context":{"maxItems":25,"type":"array","items":{"type":"object","properties":{"social_comment_id":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"provider_comment_id":{"type":"string","minLength":1,"maxLength":512},"parent_social_comment_id":{"anyOf":[{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},{"type":"null"}]},"body":{"anyOf":[{"type":"string"},{"type":"null"}]},"provider_state":{"type":"string","minLength":1,"maxLength":80},"observed_at":{"anyOf":[{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},{"type":"null"}]},"permalink":{"anyOf":[{"type":"string","format":"uri"},{"type":"null"}]}},"required":["social_comment_id","provider_comment_id","parent_social_comment_id","body","provider_state","observed_at","permalink"]}},"thread_context_truncated":{"type":"boolean"},"coverage":{"type":"object","properties":{"status":{"type":"string","enum":["complete","partial","stale","missing","unsupported","deferred","unknown","paused"]},"last_success_at":{"anyOf":[{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},{"type":"null"}]},"next_check_at":{"anyOf":[{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},{"type":"null"}]},"reason":{"anyOf":[{"type":"string"},{"type":"null"}]},"source":{"type":"string","const":"social-evidence-coverage/v1"}},"required":["status","last_success_at","next_check_at","reason","source"]},"source_links":{"maxItems":3,"type":"array","items":{"type":"string","format":"uri"}}},"required":["review","current_action","post","comment","thread_context","thread_context_truncated","coverage","source_links"]}},"next_cursor":{"anyOf":[{"type":"string"},{"type":"null"}]}},"required":["contract_version","cursor_contract_version","data","next_cursor"]},"community-engagement-api-reviews-submit-request":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"workspace_id":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"social_account_id":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"social_post_id":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"social_comment_id":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"language":{"type":"string","minLength":2,"maxLength":35},"audience_persona_hint":{"type":"string","minLength":1,"maxLength":280},"confidence":{"type":"number","minimum":0.9,"maximum":1},"provenance":{"type":"object","properties":{"evidence_comment_observation_ids":{"minItems":1,"maxItems":20,"type":"array","items":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"}},"source":{"type":"string","const":"upstream_agent"},"source_model":{"type":"string","minLength":1,"maxLength":160},"evidence_note":{"type":"string","minLength":1,"maxLength":1000}},"required":["evidence_comment_observation_ids","source"],"additionalProperties":false},"priority":{"type":"integer","minimum":1,"maximum":5},"recommended_action":{"type":"string","enum":["reply","hide","unhide","no_reply","dismiss"]},"reply_draft":{"type":"string","minLength":1,"maxLength":2000},"disposition":{"type":"string","enum":["open","ready","dismissed","no_reply"]},"assignee_user_id":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"idempotency_key":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"}},"required":["workspace_id","social_account_id","social_post_id","social_comment_id","confidence","provenance","priority","recommended_action","disposition","idempotency_key"],"additionalProperties":false},"community-engagement-api-reviews-submit-response":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"contract_version":{"type":"string","const":"community-engagement/v1"},"review":{"type":"object","properties":{"id":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"workspace_id":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"social_account_id":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"social_post_id":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"social_comment_id":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"platform":{"type":"string","enum":["facebook","instagram","threads","youtube"]},"review_version":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},"language":{"anyOf":[{"type":"string"},{"type":"null"}]},"audience_persona_hint":{"anyOf":[{"type":"string"},{"type":"null"}]},"confidence":{"type":"number","minimum":0.9,"maximum":1},"provenance":{"type":"object","properties":{"evidence_comment_observation_ids":{"minItems":1,"maxItems":20,"type":"array","items":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"}},"source":{"type":"string","const":"upstream_agent"},"source_model":{"type":"string","minLength":1,"maxLength":160},"evidence_note":{"type":"string","minLength":1,"maxLength":1000}},"required":["evidence_comment_observation_ids","source"]},"priority":{"type":"integer","minimum":1,"maximum":5},"recommended_action":{"type":"string","enum":["reply","hide","unhide","no_reply","dismiss"]},"reply_draft":{"anyOf":[{"type":"string"},{"type":"null"}]},"disposition":{"type":"string","enum":["open","ready","dismissed","no_reply"]},"assignee_user_id":{"anyOf":[{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},{"type":"null"}]},"created_at":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},"updated_at":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"}},"required":["id","workspace_id","social_account_id","social_post_id","social_comment_id","platform","review_version","language","audience_persona_hint","confidence","provenance","priority","recommended_action","reply_draft","disposition","assignee_user_id","created_at","updated_at"]}},"required":["contract_version","review"]},"identity-api-agent-organization-context-request":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"organization_id":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"}},"additionalProperties":false},"identity-api-agent-organization-context-response":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"contract_version":{"type":"string","const":"organization-agent-context/v1"},"organizations":{"maxItems":100,"type":"array","items":{"type":"object","properties":{"id":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"name":{"type":"string","minLength":1,"maxLength":200},"role":{"type":"string","enum":["owner","admin","member"]},"status":{"type":"string","enum":["active","deletion_pending","deleted"]},"workspaces":{"maxItems":100,"type":"array","items":{"type":"object","properties":{"id":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"name":{"type":"string","minLength":1,"maxLength":200},"role":{"anyOf":[{"type":"string","enum":["owner","editor","reviewer","viewer"]},{"type":"null"}]},"channels":{"maxItems":500,"type":"array","items":{"type":"object","properties":{"id":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"organization_id":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"workspace_id":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"platform":{"type":"string","enum":["instagram","threads","facebook","youtube","x"]},"status":{"type":"string","enum":["setup_incomplete","attached","action_required","disconnected"]}},"required":["id","organization_id","workspace_id","platform","status"]}}},"required":["id","name","role","channels"]}}},"required":["id","name","role","status","workspaces"]}}},"required":["contract_version","organizations"]},"identity-api-api-keys-create-request":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"name":{"type":"string","minLength":1,"maxLength":80},"lifetime_days":{"default":365,"description":"Days until the key expires (1-365, default 365). A key created by a delegated agent never lives longer than 30 days.","type":"integer","minimum":1,"maximum":365},"capabilities":{"description":"What the key may do. Defaults to operate, publish and engage for a signed-in user. A delegated agent can only grant what its own authorization holds (never key management).","minItems":1,"maxItems":3,"type":"array","items":{"type":"string","enum":["agent:operate","agent:publish","agent:engage"]}},"workspace_ids":{"description":"Limit the key to these Workspaces. Omit it for every Workspace the user can access. A limited key must name its Workspace (workspace_id) on routes that would otherwise use the active Workspace, and cannot call organization-wide reads.","minItems":1,"maxItems":100,"type":"array","items":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"}},"scopes":{"description":"Deprecated alias of capabilities. It is honoured exactly; an empty list is ignored.","maxItems":3,"type":"array","items":{"type":"string","enum":["agent:operate","agent:publish","agent:engage"]}},"idempotency_key":{"description":"Optional. Reuse the same key to retry safely. The secret is shown once: a retry that finds the key already created answers 409 IDEMPOTENT_REPLAY (details.existing_key names it) instead of showing it again. Revoke that key and create a new one with a new idempotency_key.","type":"string","minLength":8,"maxLength":160,"pattern":"^[!-~]+$"}},"required":["name"],"additionalProperties":false},"identity-api-api-keys-create-response":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"apiKey":{"type":"object","properties":{"id":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"name":{"type":"string"},"last_4":{"type":"string"},"scopes":{"type":"array","items":{"type":"string"}},"created_at":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},"expires_at":{"anyOf":[{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},{"type":"null"}]},"last_used_at":{"anyOf":[{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},{"type":"null"}]},"revoked_at":{"anyOf":[{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},{"type":"null"}]},"status":{"type":"string","enum":["active","expired","revoked"]},"replaces":{"anyOf":[{"type":"object","properties":{"id":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"name":{"type":"string"},"last_4":{"type":"string"},"status":{"type":"string","enum":["active","expired","revoked"]}},"required":["id","name","last_4","status"]},{"type":"null"}]},"replaced_by":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"name":{"type":"string"},"last_4":{"type":"string"},"status":{"type":"string","enum":["active","expired","revoked"]}},"required":["id","name","last_4","status"]}},"capabilities":{"type":"array","items":{"type":"string","enum":["agent:operate","agent:publish","agent:engage"]}},"workspace_ids":{"anyOf":[{"type":"array","items":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"}},{"type":"null"}]},"created_by_delegated_grant_id":{"anyOf":[{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},{"type":"null"}]}},"required":["id","name","last_4","scopes","created_at","expires_at","last_used_at","revoked_at","status","replaces","replaced_by"]},"secret":{"type":"string","minLength":1}},"required":["apiKey","secret"]},"identity-api-api-keys-extend-request":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"id":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"expires_at":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$","description":"Requested new absolute expiry. The longest lifetime is 365 days from now, or 30 days for a key created by a delegated agent. A signed-in person extending their own key is granted that longest lifetime when they ask for a later time (up to 3,650 days from now); in every other case a later time is refused with API_KEY_LIFETIME_EXCEEDS_CAP. The response carries the expiry actually applied."}},"required":["id","expires_at"],"additionalProperties":false},"identity-api-api-keys-extend-response":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"apiKey":{"type":"object","properties":{"id":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"name":{"type":"string"},"last_4":{"type":"string"},"scopes":{"type":"array","items":{"type":"string"}},"created_at":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},"expires_at":{"anyOf":[{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},{"type":"null"}]},"last_used_at":{"anyOf":[{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},{"type":"null"}]},"revoked_at":{"anyOf":[{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},{"type":"null"}]},"status":{"type":"string","enum":["active","expired","revoked"]},"replaces":{"anyOf":[{"type":"object","properties":{"id":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"name":{"type":"string"},"last_4":{"type":"string"},"status":{"type":"string","enum":["active","expired","revoked"]}},"required":["id","name","last_4","status"]},{"type":"null"}]},"replaced_by":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"name":{"type":"string"},"last_4":{"type":"string"},"status":{"type":"string","enum":["active","expired","revoked"]}},"required":["id","name","last_4","status"]}},"capabilities":{"type":"array","items":{"type":"string","enum":["agent:operate","agent:publish","agent:engage"]}},"workspace_ids":{"anyOf":[{"type":"array","items":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"}},{"type":"null"}]},"created_by_delegated_grant_id":{"anyOf":[{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},{"type":"null"}]}},"required":["id","name","last_4","scopes","created_at","expires_at","last_used_at","revoked_at","status","replaces","replaced_by"]},"idempotent":{"type":"boolean"}},"required":["apiKey","idempotent"]},"identity-api-api-keys-list-request":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"include_revoked":{"default":false,"type":"boolean"},"include_authority":{"default":false,"description":"Also return each key's capabilities, Workspace limit (null = every Workspace) and the delegated grant that created it.","type":"boolean"}},"additionalProperties":false},"identity-api-api-keys-list-response":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"apiKeys":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"name":{"type":"string"},"last_4":{"type":"string"},"scopes":{"type":"array","items":{"type":"string"}},"created_at":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},"expires_at":{"anyOf":[{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},{"type":"null"}]},"last_used_at":{"anyOf":[{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},{"type":"null"}]},"revoked_at":{"anyOf":[{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},{"type":"null"}]},"status":{"type":"string","enum":["active","expired","revoked"]},"replaces":{"anyOf":[{"type":"object","properties":{"id":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"name":{"type":"string"},"last_4":{"type":"string"},"status":{"type":"string","enum":["active","expired","revoked"]}},"required":["id","name","last_4","status"]},{"type":"null"}]},"replaced_by":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"name":{"type":"string"},"last_4":{"type":"string"},"status":{"type":"string","enum":["active","expired","revoked"]}},"required":["id","name","last_4","status"]}},"capabilities":{"type":"array","items":{"type":"string","enum":["agent:operate","agent:publish","agent:engage"]}},"workspace_ids":{"anyOf":[{"type":"array","items":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"}},{"type":"null"}]},"created_by_delegated_grant_id":{"anyOf":[{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},{"type":"null"}]}},"required":["id","name","last_4","scopes","created_at","expires_at","last_used_at","revoked_at","status","replaces","replaced_by"]}}},"required":["apiKeys"]},"identity-api-api-keys-renew-request":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"id":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"name":{"type":"string","minLength":1,"maxLength":80},"lifetime_days":{"default":365,"description":"Days until the successor expires (1-365, default 365; 30 at most for a key created by a delegated agent). The successor keeps the predecessor's capabilities and Workspace limit.","type":"integer","minimum":1,"maximum":365},"idempotency_key":{"description":"Optional. Reuse the same key to retry safely. The new secret is shown once: a retry that finds the successor already created answers 409 IDEMPOTENT_REPLAY (details.existing_key names it). Revoke it and renew again with a new idempotency_key.","type":"string","minLength":8,"maxLength":160,"pattern":"^[!-~]+$"}},"required":["id"],"additionalProperties":false},"identity-api-api-keys-renew-response":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"apiKey":{"type":"object","properties":{"id":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"name":{"type":"string"},"last_4":{"type":"string"},"scopes":{"type":"array","items":{"type":"string"}},"created_at":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},"expires_at":{"anyOf":[{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},{"type":"null"}]},"last_used_at":{"anyOf":[{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},{"type":"null"}]},"revoked_at":{"anyOf":[{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},{"type":"null"}]},"status":{"type":"string","enum":["active","expired","revoked"]},"replaces":{"anyOf":[{"type":"object","properties":{"id":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"name":{"type":"string"},"last_4":{"type":"string"},"status":{"type":"string","enum":["active","expired","revoked"]}},"required":["id","name","last_4","status"]},{"type":"null"}]},"replaced_by":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"name":{"type":"string"},"last_4":{"type":"string"},"status":{"type":"string","enum":["active","expired","revoked"]}},"required":["id","name","last_4","status"]}},"capabilities":{"type":"array","items":{"type":"string","enum":["agent:operate","agent:publish","agent:engage"]}},"workspace_ids":{"anyOf":[{"type":"array","items":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"}},{"type":"null"}]},"created_by_delegated_grant_id":{"anyOf":[{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},{"type":"null"}]}},"required":["id","name","last_4","scopes","created_at","expires_at","last_used_at","revoked_at","status","replaces","replaced_by"]},"secret":{"type":"string","minLength":1}},"required":["apiKey","secret"]},"identity-api-api-keys-revoke-request":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"id":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"}},"required":["id"],"additionalProperties":false},"identity-api-api-keys-revoke-response":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"ok":{"type":"boolean","const":true},"already_revoked":{"type":"boolean"}},"required":["ok","already_revoked"]},"identity-api-billing-status-request":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{},"additionalProperties":false},"identity-api-billing-status-response":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"billing_account_id":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"plan_key":{"type":"string","enum":["free","founding_pro"]},"plan_version":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},"payment_state":{"type":"string","minLength":1,"maxLength":64},"entitlement_source":{"type":"string","enum":["default","stripe","internal_test","reconciliation","manual"]},"has_stripe_customer":{"type":"boolean"},"checkout_enabled":{"type":"boolean"},"cycle":{"type":"object","properties":{"period_start":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},"period_end":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},"reset_at":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"}},"required":["period_start","period_end","reset_at"]},"quota":{"type":"object","properties":{"successful_destination_publishes":{"type":"object","properties":{"limit":{"type":"integer","minimum":0,"maximum":9007199254740991},"reserved":{"type":"integer","minimum":0,"maximum":9007199254740991},"consumed":{"type":"integer","minimum":0,"maximum":9007199254740991},"remaining":{"type":"integer","minimum":0,"maximum":9007199254740991}},"required":["limit","reserved","consumed","remaining"]},"pending_scheduled_posts":{"type":"object","properties":{"limit":{"type":"integer","minimum":0,"maximum":9007199254740991},"active":{"type":"integer","minimum":0,"maximum":9007199254740991},"remaining":{"type":"integer","minimum":0,"maximum":9007199254740991}},"required":["limit","active","remaining"]},"connected_social_accounts":{"type":"object","properties":{"limit":{"type":"integer","minimum":0,"maximum":9007199254740991},"active":{"type":"integer","minimum":0,"maximum":9007199254740991},"remaining":{"type":"integer","minimum":0,"maximum":9007199254740991}},"required":["limit","active","remaining"]}},"required":["successful_destination_publishes","pending_scheduled_posts","connected_social_accounts"]},"history_days":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},"capabilities":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{}}},"required":["billing_account_id","plan_key","plan_version","payment_state","entitlement_source","has_stripe_customer","checkout_enabled","cycle","quota","history_days","capabilities"]},"identity-api-commercial-access-status-request":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"workspace_id":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"}},"required":["workspace_id"],"additionalProperties":false},"identity-api-commercial-access-status-response":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"billing_account_id":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"plan_key":{"type":"string","enum":["free","founding_pro"]},"plan_version":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},"payment_state":{"type":"string","minLength":1,"maxLength":64},"entitlement_source":{"type":"string","enum":["default","stripe","internal_test","reconciliation","manual"]},"has_stripe_customer":{"type":"boolean"},"cycle":{"type":"object","properties":{"period_start":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},"period_end":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},"reset_at":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"}},"required":["period_start","period_end","reset_at"]},"quota":{"type":"object","properties":{"successful_destination_publishes":{"type":"object","properties":{"limit":{"type":"integer","minimum":0,"maximum":9007199254740991},"reserved":{"type":"integer","minimum":0,"maximum":9007199254740991},"consumed":{"type":"integer","minimum":0,"maximum":9007199254740991},"remaining":{"type":"integer","minimum":0,"maximum":9007199254740991}},"required":["limit","reserved","consumed","remaining"]},"pending_scheduled_posts":{"type":"object","properties":{"limit":{"type":"integer","minimum":0,"maximum":9007199254740991},"active":{"type":"integer","minimum":0,"maximum":9007199254740991},"remaining":{"type":"integer","minimum":0,"maximum":9007199254740991}},"required":["limit","active","remaining"]},"connected_social_accounts":{"type":"object","properties":{"limit":{"type":"integer","minimum":0,"maximum":9007199254740991},"active":{"type":"integer","minimum":0,"maximum":9007199254740991},"remaining":{"type":"integer","minimum":0,"maximum":9007199254740991}},"required":["limit","active","remaining"]}},"required":["successful_destination_publishes","pending_scheduled_posts","connected_social_accounts"]},"history_days":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},"capabilities":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{}},"actor_user_id":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"workspace_id":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"billing_account_kind":{"type":"string","const":"personal"},"commercial_access_mode":{"type":"string","enum":["off","shadow","enforce"]}},"required":["billing_account_id","plan_key","plan_version","payment_state","entitlement_source","has_stripe_customer","cycle","quota","history_days","capabilities","actor_user_id","workspace_id","billing_account_kind","commercial_access_mode"]},"identity-api-feedback-submit-request":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"type":{"type":"string","enum":["bug","feature","general"]},"message":{"type":"string","minLength":1,"maxLength":4000},"idempotency_key":{"description":"Optional. Reuse the same key to retry safely: a retry returns the original result instead of acting twice.","type":"string","minLength":8,"maxLength":160,"pattern":"^[!-~]+$"}},"required":["type","message"],"additionalProperties":false},"identity-api-feedback-submit-response":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"ok":{"type":"boolean","const":true},"id":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"created_at":{"type":"string"}},"required":["ok","id","created_at"]},"identity-api-member-list-request":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"workspace_id":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"}},"required":["workspace_id"],"additionalProperties":false},"identity-api-member-list-response":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"members":{"type":"array","items":{"type":"object","properties":{"user_id":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"email":{"anyOf":[{"type":"string","format":"email","pattern":"^(?!\\.)(?!.*\\.\\.)([A-Za-z0-9_'+\\-\\.]*)[A-Za-z0-9_+-]@([A-Za-z0-9][A-Za-z0-9\\-]*\\.)+[A-Za-z]{2,}$"},{"type":"null"}]},"role":{"type":"string","enum":["owner","editor","reviewer","viewer"]},"joined_at":{"type":"string"}},"required":["user_id","email","role","joined_at"]}},"pending_invites":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"email":{"type":"string","format":"email","pattern":"^(?!\\.)(?!.*\\.\\.)([A-Za-z0-9_'+\\-\\.]*)[A-Za-z0-9_+-]@([A-Za-z0-9][A-Za-z0-9\\-]*\\.)+[A-Za-z]{2,}$"},"expires_at":{"type":"string"}},"required":["id","email","expires_at"]}}},"required":["members","pending_invites"]},"identity-api-organization-channels-list-request":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"organization_id":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"}},"required":["organization_id"],"additionalProperties":false},"identity-api-organization-channels-list-response":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"channels":{"maxItems":500,"type":"array","items":{"type":"object","properties":{"id":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"organization_id":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"platform":{"type":"string","enum":["instagram","threads","facebook","youtube","x"]},"resource_type":{"type":"string","minLength":1},"provider_resource_id":{"type":"string","minLength":1},"home_workspace_id":{"anyOf":[{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},{"type":"null"}]},"attachment_state":{"type":"string","enum":["setup_incomplete","attached","action_required","disconnected"]},"legacy_review_state":{"type":"string","enum":["not_required","workspace_duplicate_required","completed"]},"transition_state":{"type":"string","enum":["stable","moving","disconnecting"]},"operation_revision":{"type":"integer","minimum":0,"maximum":9007199254740991},"account_ids":{"maxItems":100,"type":"array","items":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"}}},"required":["id","organization_id","platform","resource_type","provider_resource_id","home_workspace_id","attachment_state","legacy_review_state","transition_state","operation_revision","account_ids"]}}},"required":["channels"]},"identity-api-organization-channels-move-preview-request":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"organization_id":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"channel_id":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"target_workspace_id":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"}},"required":["organization_id","channel_id","target_workspace_id"],"additionalProperties":false},"identity-api-organization-channels-move-preview-response":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"channel_id":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"source_workspace_id":{"anyOf":[{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},{"type":"null"}]},"target_workspace_id":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"operation_revision":{"type":"integer","minimum":0,"maximum":9007199254740991},"can_move":{"type":"boolean"},"blockers":{"maxItems":50,"type":"array","items":{"type":"string"}},"dependency_hash":{"type":"string","minLength":1}},"required":["channel_id","source_workspace_id","target_workspace_id","operation_revision","can_move","blockers","dependency_hash"]},"identity-api-organization-connections-list-request":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"organization_id":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"}},"required":["organization_id"],"additionalProperties":false},"identity-api-organization-connections-list-response":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"connections":{"maxItems":100,"type":"array","items":{"type":"object","properties":{"id":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"organization_id":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"provider":{"type":"string","enum":["meta","instagram","threads","google_youtube","x"]},"provider_principal":{"anyOf":[{"type":"string"},{"type":"null"}]},"state":{"type":"string","enum":["active","action_required","unlinked"]},"provider_revoke_state":{"type":"string","enum":["not_requested","pending","succeeded","failed","unknown"]},"granted_scopes":{"type":"array","items":{"type":"string"}},"source":{"type":"string","enum":["oauth_v1","legacy_imported"]},"authorized_at":{"anyOf":[{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},{"type":"null"}]},"last_discovered_at":{"anyOf":[{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},{"type":"null"}]}},"required":["id","organization_id","provider","provider_principal","state","provider_revoke_state","granted_scopes","source","authorized_at","last_discovered_at"]}}},"required":["connections"]},"identity-api-organization-connections-review-request":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"organization_id":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"operation_id":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"}},"required":["organization_id","operation_id"],"additionalProperties":false},"identity-api-organization-connections-review-response":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"operation_id":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"organization_id":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"provider":{"type":"string","enum":["meta","instagram","threads","google_youtube","x"]},"status":{"type":"string","enum":["review_required","confirming","partially_confirmed","confirmed","failed","expired"]},"resources":{"maxItems":500,"type":"array","items":{"type":"object","properties":{"id":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"resource_type":{"type":"string","minLength":1},"provider_resource_id":{"type":"string","minLength":1},"display_name":{"anyOf":[{"type":"string"},{"type":"null"}]},"display_username":{"anyOf":[{"type":"string"},{"type":"null"}]},"provider_tasks":{"type":"array","items":{"type":"string"}},"provider_permissions":{"type":"array","items":{"type":"string"}},"capability_facts":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{}},"discovery_status":{"type":"string","enum":["discovered","action_required","unavailable","unknown"]},"selection_state":{"type":"string","enum":["unselected","selected","attached","superseded"]}},"required":["id","resource_type","provider_resource_id","display_name","display_username","provider_tasks","provider_permissions","capability_facts","discovery_status","selection_state"]}}},"required":["operation_id","organization_id","provider","status","resources"]},"identity-api-organization-list-request":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{},"additionalProperties":false},"identity-api-organization-list-response":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"organizations":{"maxItems":100,"type":"array","items":{"type":"object","properties":{"id":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"name":{"type":"string","minLength":1},"role":{"type":"string","enum":["owner","admin","member"]},"status":{"type":"string","enum":["active","deletion_pending","deleted"]},"workspace_ids":{"maxItems":100,"type":"array","items":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"}}},"required":["id","name","role","status","workspace_ids"]}}},"required":["organizations"]},"identity-api-user-inbox-list-request":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"kind":{"type":"string","minLength":1,"maxLength":64},"unread_only":{"type":"boolean"},"limit":{"type":"integer","minimum":1,"maximum":50}},"additionalProperties":false},"identity-api-user-inbox-list-response":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"notifications":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"workspace_id":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"kind":{"type":"string"},"title":{"type":"string"},"body":{"anyOf":[{"type":"string"},{"type":"null"}]},"link_url":{"anyOf":[{"type":"string"},{"type":"null"}]},"payload":{"default":{},"type":"object","propertyNames":{"type":"string"},"additionalProperties":{}},"read_at":{"anyOf":[{"type":"string"},{"type":"null"}]},"created_at":{"type":"string"}},"required":["id","workspace_id","kind","title","body","link_url","payload","read_at","created_at"]}}},"required":["notifications"]},"identity-api-user-notifications-get-request":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{},"additionalProperties":false},"identity-api-user-notifications-get-response":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"prefs":{"type":"object","properties":{"email_post_failed":{"type":"boolean"}},"required":["email_post_failed"]}},"required":["prefs"]},"identity-api-user-notifications-update-request":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"email_post_failed":{"type":"boolean"}},"additionalProperties":false},"identity-api-user-notifications-update-response":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"prefs":{"type":"object","properties":{"email_post_failed":{"type":"boolean"}},"required":["email_post_failed"]}},"required":["prefs"]},"identity-api-user-profile-get-request":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"include_version":{"description":"Optional. true adds the resource version to the answer.","type":"boolean"}},"additionalProperties":false},"identity-api-user-profile-get-response":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"action":{"type":"string","const":"get"},"profile":{"anyOf":[{"type":"object","properties":{"user_id":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"display_name":{"anyOf":[{"type":"string"},{"type":"null"}]},"timezone":{"anyOf":[{"type":"string"},{"type":"null"}]},"avatar_url":{"anyOf":[{"type":"string"},{"type":"null"}]},"avatar_preview_url":{"anyOf":[{"type":"string","format":"uri"},{"type":"null"}]},"avatar_preview_expires_at":{"anyOf":[{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z))$"},{"type":"null"}]},"theme":{"anyOf":[{"type":"string","enum":["light","dark","system"]},{"type":"null"}]},"created_at":{"anyOf":[{"type":"string"},{"type":"null"}]},"updated_at":{"anyOf":[{"type":"string"},{"type":"null"}]},"deletion_scheduled_at":{"anyOf":[{"type":"string"},{"type":"null"}]},"hard_delete_at":{"anyOf":[{"type":"string"},{"type":"null"}]},"version":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991}},"required":["user_id","display_name","timezone","avatar_url","theme","created_at","updated_at","deletion_scheduled_at","hard_delete_at"]},{"type":"null"}]}},"required":["action","profile"]},"identity-api-user-profile-sign-avatar-url-request":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"filename":{"type":"string","minLength":1,"maxLength":256},"content_type":{"type":"string","pattern":"^image\\/(png|jpeg|jpg|gif|webp)$"},"byte_size":{"description":"Exact avatar size in bytes (max 5 MiB); signed into the upload URL","type":"integer","minimum":1,"maximum":5242880}},"required":["filename","content_type"],"additionalProperties":false},"identity-api-user-profile-sign-avatar-url-response":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"action":{"type":"string","const":"sign-avatar-url"},"path":{"type":"string"},"signed_url":{"type":"string","format":"uri"},"token":{"type":"string"}},"required":["action","path","signed_url"]},"identity-api-user-profile-update-request":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"display_name":{"type":"string","minLength":0,"maxLength":120},"timezone":{"type":"string","minLength":1,"maxLength":64},"avatar_url":{"type":"string","minLength":0,"maxLength":2048},"theme":{"type":"string","enum":["light","dark","system"]},"expected_version":{"description":"Optional. The version you read. If it changed since, the update fails with 409 VERSION_CONFLICT instead of overwriting.","type":"integer","exclusiveMinimum":0,"maximum":2147483647},"include_version":{"description":"Optional. true adds the resource version to the answer.","type":"boolean"}},"additionalProperties":false},"identity-api-user-profile-update-response":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"action":{"type":"string","const":"update"},"profile":{"type":"object","properties":{"user_id":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"display_name":{"anyOf":[{"type":"string"},{"type":"null"}]},"timezone":{"anyOf":[{"type":"string"},{"type":"null"}]},"avatar_url":{"anyOf":[{"type":"string"},{"type":"null"}]},"avatar_preview_url":{"anyOf":[{"type":"string","format":"uri"},{"type":"null"}]},"avatar_preview_expires_at":{"anyOf":[{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z))$"},{"type":"null"}]},"theme":{"anyOf":[{"type":"string","enum":["light","dark","system"]},{"type":"null"}]},"created_at":{"anyOf":[{"type":"string"},{"type":"null"}]},"updated_at":{"anyOf":[{"type":"string"},{"type":"null"}]},"deletion_scheduled_at":{"anyOf":[{"type":"string"},{"type":"null"}]},"hard_delete_at":{"anyOf":[{"type":"string"},{"type":"null"}]},"version":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991}},"required":["user_id","display_name","timezone","avatar_url","theme","created_at","updated_at","deletion_scheduled_at","hard_delete_at"]}},"required":["action","profile"]},"identity-api-user-social-accounts-clear-block-request":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"account_id":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"}},"required":["account_id"],"additionalProperties":false},"identity-api-user-social-accounts-clear-block-response":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"ok":{"type":"boolean","const":true}},"required":["ok"]},"identity-api-user-social-accounts-disconnect-request":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"account_id":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"}},"required":["account_id"],"additionalProperties":false},"identity-api-user-social-accounts-disconnect-response":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"ok":{"type":"boolean","const":true}},"required":["ok"]},"identity-api-user-social-accounts-list-request":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"workspace_id":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"include_authorization_grant":{"type":"boolean"}},"additionalProperties":false},"identity-api-user-social-accounts-list-response":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"accounts":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"platform":{"type":"string","enum":["instagram","threads","facebook","tiktok","linkedin","youtube","x"]},"handle":{"anyOf":[{"type":"string"},{"type":"null"}]},"status":{"type":"string","enum":["valid","expiring_soon","expired","disconnected"]},"expires_at":{"anyOf":[{"type":"string"},{"type":"null"}]},"created_at":{"type":"string"},"avatar_url":{"anyOf":[{"type":"string"},{"type":"null"}]},"follower_count":{"anyOf":[{"type":"integer","minimum":0,"maximum":9007199254740991},{"type":"null"}]},"post_count":{"anyOf":[{"type":"integer","minimum":0,"maximum":9007199254740991},{"type":"null"}]},"auto_sync_enabled":{"type":"boolean"},"last_synced_at":{"anyOf":[{"type":"string"},{"type":"null"}]},"workspace_id":{"anyOf":[{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},{"type":"null"}]},"platform_user_id":{"anyOf":[{"type":"string","minLength":1},{"type":"null"}]},"instagram_login_mode":{"anyOf":[{"type":"string","enum":["instagram_login","facebook_login"]},{"type":"null"}]},"facebook_page_id":{"anyOf":[{"type":"string","minLength":1},{"type":"null"}]},"blocked_until":{"anyOf":[{"type":"string"},{"type":"null"}]},"block_reason":{"anyOf":[{"type":"string","enum":["transient","account_block","auth_invalid","permanent"]},{"type":"null"}]},"block_subcode":{"anyOf":[{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},{"type":"null"}]},"block_count":{"type":"integer","minimum":0,"maximum":9007199254740991},"last_block_at":{"anyOf":[{"type":"string"},{"type":"null"}]},"health_state":{"type":"string","enum":["ready","action_required","temporarily_unavailable","publishing_restricted","disconnected","unknown"]},"health_message":{"type":"string","minLength":1,"maxLength":500},"health_observed_at":{"anyOf":[{"type":"string"},{"type":"null"}]},"authorization_grant":{"oneOf":[{"type":"object","properties":{"granted_permissions":{"type":"array","items":{"type":"string","minLength":1}},"inventory_source":{"type":"string","enum":["oauth_token_response","provider_token_debug","provider_permissions_endpoint"]},"inventory_exact":{"type":"boolean","const":true},"observed_at":{"type":"string","minLength":1},"provider_api_version":{"type":"string","minLength":1,"maxLength":40},"oauth_provider":{"type":"string","enum":["instagram","threads","meta","google"]},"oauth_subject_id":{"type":"string","minLength":1}},"required":["granted_permissions","inventory_source","inventory_exact","observed_at","provider_api_version","oauth_provider","oauth_subject_id"]},{"type":"object","properties":{"granted_permissions":{"minItems":0,"maxItems":0,"type":"array","items":{"not":{}}},"inventory_source":{"type":"string","const":"unavailable"},"inventory_exact":{"type":"boolean","const":false},"observed_at":{"type":"null"},"provider_api_version":{"type":"null"},"oauth_provider":{"anyOf":[{"type":"string","enum":["instagram","threads","meta","google"]},{"type":"null"}]},"oauth_subject_id":{"anyOf":[{"type":"string","minLength":1},{"type":"null"}]}},"required":["granted_permissions","inventory_source","inventory_exact","observed_at","provider_api_version","oauth_provider","oauth_subject_id"]}]},"current_capability_snapshot_id":{"anyOf":[{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},{"type":"null"}]},"capability_facts":{"type":"array","items":{"type":"object","properties":{"capability":{"type":"string","enum":["can_publish_text","can_publish_image","can_publish_video","can_publish_reel","can_publish_carousel","can_publish_first_comment","can_publish_topic_tag","can_publish_link","can_upload_video","can_set_title","can_set_description","can_set_thumbnail","can_set_privacy_status","can_publish_story","can_invite_collaborators","can_tag_products","can_publish_trial_reel","can_publish_partnership","can_delete_media","can_publish_reply","can_quote_post","can_repost","can_publish_poll","can_publish_gif","can_publish_text_attachment","can_publish_ghost_post","can_tag_location","can_crossshare_to_instagram","can_auto_publish_text","can_delete_post","can_publish_multi_image","can_target_post","can_backdate_post","can_manage_native_schedule","can_update_video","can_delete_video","can_set_brand_partner"]},"observed_allowed":{"anyOf":[{"type":"boolean"},{"type":"null"}]},"availability":{"type":"string","enum":["available","unavailable","unknown","documented_ambiguous"]},"reason_code":{"type":"string","pattern":"^[a-z0-9_]+$"},"observed_at":{"type":"string"},"valid_until":{"type":"string"},"provider_api_version":{"type":"string","minLength":1,"maxLength":40},"required_permissions":{"type":"array","items":{"type":"string","minLength":1}},"granted_permissions":{"type":"array","items":{"type":"string","minLength":1}},"account_eligibility":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{}}},"required":["capability","observed_allowed","availability","reason_code","observed_at","valid_until","provider_api_version","required_permissions","granted_permissions","account_eligibility"]}}},"required":["id","platform","handle","status","expires_at","created_at","health_state","health_message","health_observed_at","current_capability_snapshot_id","capability_facts"]}}},"required":["accounts"]},"identity-api-user-social-accounts-set-auto-sync-request":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"account_id":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"enabled":{"type":"boolean"}},"required":["account_id","enabled"],"additionalProperties":false},"identity-api-user-social-accounts-set-auto-sync-response":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"ok":{"type":"boolean","const":true},"enabled":{"type":"boolean"}},"required":["ok","enabled"]},"identity-api-workspace-create-request":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"name":{"type":"string","minLength":1,"maxLength":120},"organization_id":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"idempotency_key":{"description":"Optional. Reuse the same key to retry safely: a retry returns the original result instead of acting twice.","type":"string","minLength":8,"maxLength":160,"pattern":"^[!-~]+$"}},"required":["name"],"additionalProperties":false},"identity-api-workspace-create-response":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"workspace":{"type":"object","properties":{"id":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"organization_id":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"slug":{"type":"string"},"name":{"type":"string"},"created_at":{"type":"string"}},"required":["id","organization_id","slug","name","created_at"]}},"required":["workspace"]},"identity-api-workspace-list-request":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"include_version":{"description":"Optional. true adds the resource version to the answer.","type":"boolean"}},"additionalProperties":false},"identity-api-workspace-list-response":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"active_workspace_id":{"anyOf":[{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},{"type":"null"}]},"workspaces":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"slug":{"type":"string"},"name":{"type":"string"},"role":{"type":"string","enum":["owner","editor","reviewer","viewer"]},"version":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991}},"required":["id","slug","name","role"]}}},"required":["active_workspace_id","workspaces"]},"identity-api-workspace-update-request":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"workspace_id":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"name":{"type":"string","minLength":1,"maxLength":120},"slug":{"type":"string","minLength":1,"maxLength":64,"pattern":"^[a-z0-9]+(?:-[a-z0-9]+)*$"},"expected_version":{"description":"Optional. The version you read. If it changed since, the update fails with 409 VERSION_CONFLICT instead of overwriting.","type":"integer","exclusiveMinimum":0,"maximum":2147483647},"include_version":{"description":"Optional. true adds the resource version to the answer.","type":"boolean"}},"required":["workspace_id"],"additionalProperties":false},"identity-api-workspace-update-response":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"workspace":{"type":"object","properties":{"id":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"slug":{"type":"string"},"name":{"type":"string"},"version":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991}},"required":["id","slug","name"]}},"required":["workspace"]},"jobs-api-get-request":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"job_id":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"}},"required":["job_id"],"additionalProperties":false},"jobs-api-get-response":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"id":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"status":{"type":"string"},"job_type":{"type":"string"},"result_data":{"$ref":"#/components/schemas/jobs-api-get-response/$defs/__schema0"},"error_message":{"anyOf":[{"type":"string"},{"type":"null"}]},"created_at":{"type":"string"},"updated_at":{"type":"string"}},"required":["id","status","job_type","result_data","error_message","created_at","updated_at"],"$defs":{"__schema0":{"anyOf":[{"type":"string"},{"type":"number"},{"type":"boolean"},{"type":"null"},{"type":"array","items":{"$ref":"#/components/schemas/jobs-api-get-response/$defs/__schema0"}},{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{"$ref":"#/components/schemas/jobs-api-get-response/$defs/__schema0"}}]}}},"jobs-api-list-request":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"limit":{"type":"integer","minimum":1,"maximum":100,"description":"Page size, 1 to 100. Sending limit or cursor switches this route to cursor paging and adds next_cursor to the answer."},"cursor":{"type":"string","minLength":1,"maxLength":512,"description":"Opaque cursor: the next_cursor of the previous page, unchanged. Omit it for the first page. The same filters must be sent with every page."}},"additionalProperties":false},"jobs-api-list-response":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"jobs":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"user_id":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"kind":{"type":"string"},"status":{"type":"string"},"payload":{"$ref":"#/components/schemas/jobs-api-list-response/$defs/__schema0"},"scheduled_for":{"anyOf":[{"type":"string"},{"type":"null"}]},"schedule_timezone":{"anyOf":[{"type":"string"},{"type":"null"}]},"progress":{"anyOf":[{"type":"integer","minimum":0,"maximum":100},{"type":"null"}]},"progress_message":{"anyOf":[{"type":"string"},{"type":"null"}]},"created_at":{"type":"string"},"updated_at":{"type":"string"}},"required":["id","user_id","kind","status","payload","scheduled_for","schedule_timezone","progress","progress_message","created_at","updated_at"]}},"next_cursor":{"description":"Present only when the request sent limit or cursor. Null on the last page.","anyOf":[{"type":"string"},{"type":"null"}]}},"required":["jobs"],"$defs":{"__schema0":{"anyOf":[{"type":"string"},{"type":"number"},{"type":"boolean"},{"type":"null"},{"type":"array","items":{"$ref":"#/components/schemas/jobs-api-list-response/$defs/__schema0"}},{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{"$ref":"#/components/schemas/jobs-api-list-response/$defs/__schema0"}}]}}},"oauth-api-instagram-init-request":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"redirect_to":{"type":"string","format":"uri"},"workspace_id":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"expected_platform_user_id":{"type":"string","minLength":1},"interaction_mode":{"default":"connect","type":"string","enum":["connect","request_scopes","switch_account","recover"]}},"additionalProperties":false},"oauth-api-instagram-init-response":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"authorize_url":{"type":"string","format":"uri"}},"required":["authorize_url"]},"oauth-api-instagram-refresh-request":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"social_account_id":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"}},"additionalProperties":false},"oauth-api-instagram-refresh-response":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"ok":{"type":"boolean","const":true},"refreshed":{"type":"boolean"},"expires_at":{"anyOf":[{"type":"string"},{"type":"null"}]}},"required":["ok","refreshed","expires_at"]},"oauth-api-meta-init-request":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"redirect_to":{"type":"string","format":"uri"},"workspace_id":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"expected_platform_user_id":{"type":"string","minLength":1},"connection_intent":{"type":"string","enum":["facebook","instagram_via_facebook"]},"interaction_mode":{"default":"connect","type":"string","enum":["connect","request_scopes","switch_account","recover"]}},"additionalProperties":false},"oauth-api-meta-init-response":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"authorize_url":{"type":"string","format":"uri"}},"required":["authorize_url"]},"oauth-api-meta-refresh-request":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"social_account_id":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"}},"required":["social_account_id"],"additionalProperties":false},"oauth-api-meta-refresh-response":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"ok":{"type":"boolean","const":true},"capability_verified":{"type":"boolean","const":true}},"required":["ok","capability_verified"]},"oauth-api-threads-check-request":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"action":{"type":"string","const":"check"},"workspace_id":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"}},"required":["action"],"additionalProperties":false},"oauth-api-threads-check-response":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"connected":{"type":"boolean"},"expires_at":{"anyOf":[{"type":"string"},{"type":"null"}]},"scope":{"anyOf":[{"type":"string"},{"type":"null"}]},"can_refresh":{"type":"boolean"},"last_refreshed_at":{"anyOf":[{"type":"string"},{"type":"null"}]}},"required":["connected","expires_at","scope","can_refresh","last_refreshed_at"]},"oauth-api-threads-init-request":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"redirect_to":{"type":"string","format":"uri"},"workspace_id":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"expected_platform_user_id":{"type":"string","minLength":1},"interaction_mode":{"default":"connect","type":"string","enum":["connect","request_scopes","switch_account","recover"]}},"additionalProperties":false},"oauth-api-threads-init-response":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"authorize_url":{"type":"string","format":"uri"}},"required":["authorize_url"]},"oauth-api-threads-refresh-request":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"social_account_id":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"}},"additionalProperties":false},"oauth-api-threads-refresh-response":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"ok":{"type":"boolean","const":true},"refreshed":{"type":"boolean"},"expires_at":{"anyOf":[{"type":"string"},{"type":"null"}]}},"required":["ok","refreshed","expires_at"]},"oauth-api-youtube-init-request":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"redirect_to":{"type":"string","format":"uri"},"workspace_id":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"expected_platform_user_id":{"type":"string","minLength":1},"interaction_mode":{"default":"connect","type":"string","enum":["connect","request_scopes","switch_account","recover"]}},"additionalProperties":false},"oauth-api-youtube-init-response":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"authorize_url":{"type":"string","format":"uri"}},"required":["authorize_url"]},"oauth-api-youtube-refresh-request":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"social_account_id":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"}},"required":["social_account_id"],"additionalProperties":false},"oauth-api-youtube-refresh-response":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"ok":{"type":"boolean","const":true},"expires_at":{"type":"string"},"capability_verified":{"type":"boolean","const":true}},"required":["ok","expires_at","capability_verified"]},"studio-api-projects-account-defaults-get-request":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"project_id":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"}},"required":["project_id"],"additionalProperties":false},"studio-api-projects-account-defaults-get-response":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"project_id":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"defaults_version":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},"accounts":{"type":"array","items":{"type":"object","properties":{"social_account_id":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"workspace_id":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"platform":{"type":"string","enum":["instagram","threads","facebook","youtube","x"]},"platform_user_id":{"anyOf":[{"type":"string"},{"type":"null"}]},"username":{"anyOf":[{"type":"string"},{"type":"null"}]},"facebook_page_name":{"anyOf":[{"type":"string"},{"type":"null"}]},"enabled":{"type":"boolean"},"language":{"type":"string","minLength":1,"maxLength":35},"region":{"type":"string","minLength":1,"maxLength":16},"timezone":{"type":"string","minLength":1,"maxLength":80},"resolution_source":{"type":"string","enum":["project_default","workspace_default","connected_account"]}},"required":["social_account_id","workspace_id","platform","platform_user_id","username","facebook_page_name","enabled","language","region","timezone","resolution_source"]}}},"required":["project_id","defaults_version","accounts"]},"studio-api-projects-account-defaults-replace-request":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"project_id":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"expected_defaults_version":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},"idempotency_key":{"type":"string","minLength":8,"maxLength":160},"overrides":{"maxItems":200,"type":"array","items":{"type":"object","properties":{"social_account_id":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"enabled":{"type":"boolean"},"language":{"type":"string","minLength":1,"maxLength":35},"region":{"type":"string","minLength":1,"maxLength":16},"timezone":{"type":"string","minLength":1,"maxLength":80}},"required":["social_account_id","enabled","language","region","timezone"],"additionalProperties":false}}},"required":["project_id","expected_defaults_version","idempotency_key","overrides"],"additionalProperties":false},"studio-api-projects-account-defaults-replace-response":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"project_id":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"defaults_version":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},"accounts":{"type":"array","items":{"type":"object","properties":{"social_account_id":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"workspace_id":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"platform":{"type":"string","enum":["instagram","threads","facebook","youtube","x"]},"platform_user_id":{"anyOf":[{"type":"string"},{"type":"null"}]},"username":{"anyOf":[{"type":"string"},{"type":"null"}]},"facebook_page_name":{"anyOf":[{"type":"string"},{"type":"null"}]},"enabled":{"type":"boolean"},"language":{"type":"string","minLength":1,"maxLength":35},"region":{"type":"string","minLength":1,"maxLength":16},"timezone":{"type":"string","minLength":1,"maxLength":80},"resolution_source":{"type":"string","enum":["project_default","workspace_default","connected_account"]}},"required":["social_account_id","workspace_id","platform","platform_user_id","username","facebook_page_name","enabled","language","region","timezone","resolution_source"]}},"receipt_id":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"applied":{"type":"boolean"},"deduped":{"type":"boolean"}},"required":["project_id","defaults_version","accounts","receipt_id","applied","deduped"]},"studio-api-projects-accounts-link-request":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"project_id":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"social_account_id":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"idempotency_key":{"type":"string","minLength":8,"maxLength":160}},"required":["project_id","social_account_id","idempotency_key"],"additionalProperties":false},"studio-api-projects-accounts-link-response":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"contract_version":{"type":"string","const":"project/v1"},"link":{"anyOf":[{"type":"object","properties":{"workspace_id":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"project_id":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"social_account_id":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"source":{"type":"string","enum":["user","api_key","delegated_ai","migration","scheduled_post","project_default"]},"created_by":{"anyOf":[{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},{"type":"null"}]},"created_at":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},"platform":{"type":"string","enum":["instagram","threads","facebook","youtube"]},"platform_user_id":{"anyOf":[{"type":"string"},{"type":"null"}]},"username":{"anyOf":[{"type":"string"},{"type":"null"}]},"facebook_page_name":{"anyOf":[{"type":"string"},{"type":"null"}]}},"required":["workspace_id","project_id","social_account_id","source","created_by","created_at"]},{"type":"null"}]},"receipt_id":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"applied":{"type":"boolean"},"deduped":{"type":"boolean"}},"required":["contract_version","link","receipt_id","applied","deduped"]},"studio-api-projects-accounts-list-request":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"project_id":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"cursor":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"limit":{"default":50,"type":"integer","minimum":1,"maximum":200}},"required":["project_id"],"additionalProperties":false},"studio-api-projects-accounts-list-response":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"contract_version":{"type":"string","const":"project/v1"},"project_id":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"links":{"type":"array","items":{"type":"object","properties":{"workspace_id":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"project_id":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"social_account_id":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"source":{"type":"string","enum":["user","api_key","delegated_ai","migration","scheduled_post","project_default"]},"created_by":{"anyOf":[{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},{"type":"null"}]},"created_at":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},"platform":{"type":"string","enum":["instagram","threads","facebook","youtube"]},"platform_user_id":{"anyOf":[{"type":"string"},{"type":"null"}]},"username":{"anyOf":[{"type":"string"},{"type":"null"}]},"facebook_page_name":{"anyOf":[{"type":"string"},{"type":"null"}]}},"required":["workspace_id","project_id","social_account_id","source","created_by","created_at"]}},"next_cursor":{"anyOf":[{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},{"type":"null"}]}},"required":["contract_version","project_id","links","next_cursor"]},"studio-api-projects-accounts-unlink-request":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"project_id":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"social_account_id":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"idempotency_key":{"type":"string","minLength":8,"maxLength":160}},"required":["project_id","social_account_id","idempotency_key"],"additionalProperties":false},"studio-api-projects-accounts-unlink-response":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"contract_version":{"type":"string","const":"project/v1"},"link":{"anyOf":[{"type":"object","properties":{"workspace_id":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"project_id":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"social_account_id":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"source":{"type":"string","enum":["user","api_key","delegated_ai","migration","scheduled_post","project_default"]},"created_by":{"anyOf":[{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},{"type":"null"}]},"created_at":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},"platform":{"type":"string","enum":["instagram","threads","facebook","youtube"]},"platform_user_id":{"anyOf":[{"type":"string"},{"type":"null"}]},"username":{"anyOf":[{"type":"string"},{"type":"null"}]},"facebook_page_name":{"anyOf":[{"type":"string"},{"type":"null"}]}},"required":["workspace_id","project_id","social_account_id","source","created_by","created_at"]},{"type":"null"}]},"receipt_id":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"applied":{"type":"boolean"},"deduped":{"type":"boolean"}},"required":["contract_version","link","receipt_id","applied","deduped"]},"studio-api-projects-archive-request":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"id":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"expected_lifecycle_version":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},"idempotency_key":{"type":"string","minLength":8,"maxLength":160}},"required":["id","expected_lifecycle_version","idempotency_key"],"additionalProperties":false},"studio-api-projects-archive-response":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"project":{"type":"object","properties":{"id":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"workspace_id":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"name":{"type":"string","minLength":1,"maxLength":200},"operational_state":{"type":"string","enum":["active","archived"]},"lifecycle_version":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},"defaults_version":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},"archived_at":{"anyOf":[{"type":"string"},{"type":"null"}]},"archived_by":{"anyOf":[{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},{"type":"null"}]},"archived_by_api_key_id":{"anyOf":[{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},{"type":"null"}]},"created_at":{"type":"string"},"updated_at":{"type":"string"},"version":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991}},"required":["id","workspace_id","name","operational_state","lifecycle_version","defaults_version","archived_at","archived_by","archived_by_api_key_id","created_at","updated_at"]},"receipt_id":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"applied":{"type":"boolean"},"deduped":{"type":"boolean"},"held_schedule_count":{"type":"integer","minimum":0,"maximum":9007199254740991}},"required":["project","receipt_id","applied","deduped","held_schedule_count"]},"studio-api-projects-assets-link-request":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"project_id":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"asset_id":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},"relationship":{"type":"string","enum":["identity","source","reference"]},"idempotency_key":{"type":"string","minLength":8,"maxLength":160}},"required":["project_id","asset_id","relationship","idempotency_key"],"additionalProperties":false},"studio-api-projects-assets-link-response":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"contract_version":{"type":"string","const":"project/v1"},"link":{"anyOf":[{"type":"object","properties":{"workspace_id":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"project_id":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"asset_id":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},"relationship":{"type":"string","enum":["identity","source","reference"]},"source":{"type":"string","enum":["user","api_key","delegated_ai","migration","scheduled_post","project_default"]},"created_by":{"anyOf":[{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},{"type":"null"}]},"created_at":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"}},"required":["workspace_id","project_id","asset_id","relationship","source","created_by","created_at"]},{"type":"null"}]},"receipt_id":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"applied":{"type":"boolean"},"deduped":{"type":"boolean"}},"required":["contract_version","link","receipt_id","applied","deduped"]},"studio-api-projects-assets-list-request":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"project_id":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"cursor":{"type":"integer","minimum":0,"maximum":9007199254740991},"limit":{"default":50,"type":"integer","minimum":1,"maximum":200}},"required":["project_id"],"additionalProperties":false},"studio-api-projects-assets-list-response":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"contract_version":{"type":"string","const":"project/v1"},"project_id":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"links":{"type":"array","items":{"type":"object","properties":{"workspace_id":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"project_id":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"asset_id":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},"relationship":{"type":"string","enum":["identity","source","reference"]},"source":{"type":"string","enum":["user","api_key","delegated_ai","migration","scheduled_post","project_default"]},"created_by":{"anyOf":[{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},{"type":"null"}]},"created_at":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"}},"required":["workspace_id","project_id","asset_id","relationship","source","created_by","created_at"]}},"next_cursor":{"anyOf":[{"type":"integer","minimum":0,"maximum":9007199254740991},{"type":"null"}]}},"required":["contract_version","project_id","links","next_cursor"]},"studio-api-projects-assets-unlink-request":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"project_id":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"asset_id":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},"idempotency_key":{"type":"string","minLength":8,"maxLength":160}},"required":["project_id","asset_id","idempotency_key"],"additionalProperties":false},"studio-api-projects-assets-unlink-response":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"contract_version":{"type":"string","const":"project/v1"},"link":{"anyOf":[{"type":"object","properties":{"workspace_id":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"project_id":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"asset_id":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},"relationship":{"type":"string","enum":["identity","source","reference"]},"source":{"type":"string","enum":["user","api_key","delegated_ai","migration","scheduled_post","project_default"]},"created_by":{"anyOf":[{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},{"type":"null"}]},"created_at":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"}},"required":["workspace_id","project_id","asset_id","relationship","source","created_by","created_at"]},{"type":"null"}]},"receipt_id":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"applied":{"type":"boolean"},"deduped":{"type":"boolean"}},"required":["contract_version","link","receipt_id","applied","deduped"]},"studio-api-projects-create-request":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"workspace_id":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"name":{"type":"string","minLength":1,"maxLength":200},"idempotency_key":{"type":"string","minLength":8,"maxLength":160}},"required":["workspace_id","name"],"additionalProperties":false},"studio-api-projects-create-response":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"project":{"type":"object","properties":{"id":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"workspace_id":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"name":{"type":"string","minLength":1,"maxLength":200},"operational_state":{"type":"string","enum":["active","archived"]},"lifecycle_version":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},"defaults_version":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},"archived_at":{"anyOf":[{"type":"string"},{"type":"null"}]},"archived_by":{"anyOf":[{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},{"type":"null"}]},"archived_by_api_key_id":{"anyOf":[{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},{"type":"null"}]},"created_at":{"type":"string"},"updated_at":{"type":"string"},"version":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991}},"required":["id","workspace_id","name","operational_state","lifecycle_version","defaults_version","archived_at","archived_by","archived_by_api_key_id","created_at","updated_at"]},"deduped":{"type":"boolean"}},"required":["project"]},"studio-api-projects-export-create-request":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"project_id":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"idempotency_key":{"type":"string","minLength":8,"maxLength":160}},"required":["project_id","idempotency_key"],"additionalProperties":false},"studio-api-projects-export-create-response":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"contract_version":{"type":"string","const":"project/v1"},"export_id":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"job_id":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"status":{"type":"string","enum":["queued","processing","completed","failed"]},"deduped":{"type":"boolean"}},"required":["contract_version","export_id","job_id","status","deduped"]},"studio-api-projects-export-status-request":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"project_id":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"export_id":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"}},"required":["project_id","export_id"],"additionalProperties":false},"studio-api-projects-export-status-response":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"contract_version":{"type":"string","const":"project/v1"},"export_id":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"project_id":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"status":{"type":"string","enum":["queued","processing","completed","failed"]},"object_sha256":{"anyOf":[{"type":"string","pattern":"^[0-9a-f]{64}$"},{"type":"null"}]},"object_size":{"anyOf":[{"type":"integer","minimum":0,"maximum":9007199254740991},{"type":"null"}]},"download_url":{"anyOf":[{"type":"string","format":"uri"},{"type":"null"}]},"download_expires_at":{"anyOf":[{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},{"type":"null"}]},"error_message":{"anyOf":[{"type":"string"},{"type":"null"}]},"created_at":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},"completed_at":{"anyOf":[{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},{"type":"null"}]}},"required":["contract_version","export_id","project_id","status","object_sha256","object_size","download_url","download_expires_at","error_message","created_at","completed_at"]},"studio-api-projects-get-request":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"id":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"include_version":{"description":"Optional. true adds the resource version to the answer.","type":"boolean"}},"required":["id"],"additionalProperties":false},"studio-api-projects-get-response":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"project":{"type":"object","properties":{"id":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"workspace_id":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"name":{"type":"string","minLength":1,"maxLength":200},"operational_state":{"type":"string","enum":["active","archived"]},"lifecycle_version":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},"defaults_version":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},"archived_at":{"anyOf":[{"type":"string"},{"type":"null"}]},"archived_by":{"anyOf":[{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},{"type":"null"}]},"archived_by_api_key_id":{"anyOf":[{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},{"type":"null"}]},"created_at":{"type":"string"},"updated_at":{"type":"string"},"version":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991}},"required":["id","workspace_id","name","operational_state","lifecycle_version","defaults_version","archived_at","archived_by","archived_by_api_key_id","created_at","updated_at"]}},"required":["project"]},"studio-api-projects-lifecycle-history-request":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"project_id":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"limit":{"default":50,"type":"integer","minimum":1,"maximum":200}},"required":["project_id"],"additionalProperties":false},"studio-api-projects-lifecycle-history-response":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"events":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"workspace_id":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"project_id":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"action":{"type":"string","enum":["archived","unarchived"]},"previous_state":{"type":"string","enum":["active","archived"]},"new_state":{"type":"string","enum":["active","archived"]},"previous_version":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},"new_version":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},"actor_user_id":{"anyOf":[{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},{"type":"null"}]},"actor_kind":{"type":"string","enum":["jwt","api_key","delegated_ai"]},"actor_api_key_id":{"anyOf":[{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},{"type":"null"}]},"actor_delegated_grant_id":{"anyOf":[{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},{"type":"null"}]},"occurred_at":{"type":"string"}},"required":["id","workspace_id","project_id","action","previous_state","new_state","previous_version","new_version","actor_user_id","actor_kind","actor_api_key_id","actor_delegated_grant_id","occurred_at"]}}},"required":["events"]},"studio-api-projects-list-request":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"workspace_id":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"limit":{"type":"integer","minimum":1,"maximum":100,"description":"Page size, 1 to 100. Sending limit or cursor switches this route to cursor paging and adds next_cursor to the answer."},"cursor":{"type":"string","minLength":1,"maxLength":512,"description":"Opaque cursor: the next_cursor of the previous page, unchanged. Omit it for the first page. The same filters must be sent with every page."},"include_version":{"description":"Optional. true adds the resource version to the answer.","type":"boolean"}},"required":["workspace_id"],"additionalProperties":false},"studio-api-projects-list-response":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"projects":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"workspace_id":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"name":{"type":"string","minLength":1,"maxLength":200},"operational_state":{"type":"string","enum":["active","archived"]},"lifecycle_version":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},"defaults_version":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},"archived_at":{"anyOf":[{"type":"string"},{"type":"null"}]},"archived_by":{"anyOf":[{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},{"type":"null"}]},"archived_by_api_key_id":{"anyOf":[{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},{"type":"null"}]},"created_at":{"type":"string"},"updated_at":{"type":"string"},"version":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991}},"required":["id","workspace_id","name","operational_state","lifecycle_version","defaults_version","archived_at","archived_by","archived_by_api_key_id","created_at","updated_at"]}},"active_project_id":{"anyOf":[{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},{"type":"null"}]},"next_cursor":{"description":"Present only when the request sent limit or cursor. Null on the last page.","anyOf":[{"type":"string"},{"type":"null"}]}},"required":["projects","active_project_id"]},"studio-api-projects-profile-get-request":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"project_id":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"}},"required":["project_id"],"additionalProperties":false},"studio-api-projects-profile-get-response":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"contract_version":{"type":"string","const":"project/v1"},"profile":{"anyOf":[{"type":"object","properties":{"project_id":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"workspace_id":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"tagline":{"anyOf":[{"type":"string"},{"type":"null"}]},"description":{"anyOf":[{"type":"string"},{"type":"null"}]},"voice":{"anyOf":[{"type":"string"},{"type":"null"}]},"target_audience":{"anyOf":[{"type":"string"},{"type":"null"}]},"color_palette":{"type":"array","items":{"type":"string"}},"goals":{"type":"array","items":{"type":"string"}},"no_go_topics":{"type":"array","items":{"type":"string"}},"language_primary":{"type":"string"},"positioning":{"anyOf":[{"type":"string"},{"type":"null"}]},"usp":{"anyOf":[{"type":"string"},{"type":"null"}]},"visual_identity":{"anyOf":[{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{}},{"type":"null"}]},"forbidden_claims":{"type":"array","items":{"type":"string"}},"north_star_metric":{"anyOf":[{"type":"string"},{"type":"null"}]},"posting_cadence":{"anyOf":[{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{}},{"type":"null"}]},"app_store_url_ios":{"anyOf":[{"type":"string"},{"type":"null"}]},"app_store_url_android":{"anyOf":[{"type":"string"},{"type":"null"}]},"app_metadata":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{}},"profile_version":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},"updated_by":{"anyOf":[{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},{"type":"null"}]},"updated_by_kind":{"type":"string","enum":["jwt","api_key","delegated_ai","migration"]},"updated_by_api_key_id":{"anyOf":[{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},{"type":"null"}]},"updated_by_delegated_grant_id":{"anyOf":[{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},{"type":"null"}]},"created_at":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},"updated_at":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"}},"required":["project_id","workspace_id","tagline","description","voice","target_audience","color_palette","goals","no_go_topics","language_primary","positioning","usp","visual_identity","forbidden_claims","north_star_metric","posting_cadence","app_store_url_ios","app_store_url_android","app_metadata","profile_version","updated_by","updated_by_kind","updated_by_api_key_id","updated_by_delegated_grant_id","created_at","updated_at"]},{"type":"null"}]}},"required":["contract_version","profile"]},"studio-api-projects-profile-update-request":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"project_id":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"expected_profile_version":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},"idempotency_key":{"type":"string","minLength":8,"maxLength":160},"patch":{"type":"object","properties":{"tagline":{"anyOf":[{"type":"string","maxLength":300},{"type":"null"}]},"description":{"anyOf":[{"type":"string","maxLength":4000},{"type":"null"}]},"voice":{"anyOf":[{"type":"string","maxLength":1000},{"type":"null"}]},"target_audience":{"anyOf":[{"type":"string","maxLength":1000},{"type":"null"}]},"color_palette":{"maxItems":20,"type":"array","items":{"type":"string","maxLength":64}},"goals":{"maxItems":50,"type":"array","items":{"type":"string","maxLength":160}},"no_go_topics":{"maxItems":100,"type":"array","items":{"type":"string","maxLength":160}},"language_primary":{"type":"string","minLength":2,"maxLength":35},"positioning":{"anyOf":[{"type":"string","maxLength":2000},{"type":"null"}]},"usp":{"anyOf":[{"type":"string","maxLength":1000},{"type":"null"}]},"visual_identity":{"anyOf":[{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{}},{"type":"null"}]},"forbidden_claims":{"maxItems":100,"type":"array","items":{"type":"string","maxLength":240}},"north_star_metric":{"anyOf":[{"type":"string","maxLength":300},{"type":"null"}]},"posting_cadence":{"anyOf":[{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{}},{"type":"null"}]},"app_store_url_ios":{"anyOf":[{"type":"string","format":"uri"},{"type":"null"}]},"app_store_url_android":{"anyOf":[{"type":"string","format":"uri"},{"type":"null"}]},"app_metadata":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{}}},"additionalProperties":false}},"required":["project_id","expected_profile_version","idempotency_key","patch"],"additionalProperties":false},"studio-api-projects-profile-update-response":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"contract_version":{"type":"string","const":"project/v1"},"profile":{"type":"object","properties":{"project_id":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"workspace_id":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"tagline":{"anyOf":[{"type":"string"},{"type":"null"}]},"description":{"anyOf":[{"type":"string"},{"type":"null"}]},"voice":{"anyOf":[{"type":"string"},{"type":"null"}]},"target_audience":{"anyOf":[{"type":"string"},{"type":"null"}]},"color_palette":{"type":"array","items":{"type":"string"}},"goals":{"type":"array","items":{"type":"string"}},"no_go_topics":{"type":"array","items":{"type":"string"}},"language_primary":{"type":"string"},"positioning":{"anyOf":[{"type":"string"},{"type":"null"}]},"usp":{"anyOf":[{"type":"string"},{"type":"null"}]},"visual_identity":{"anyOf":[{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{}},{"type":"null"}]},"forbidden_claims":{"type":"array","items":{"type":"string"}},"north_star_metric":{"anyOf":[{"type":"string"},{"type":"null"}]},"posting_cadence":{"anyOf":[{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{}},{"type":"null"}]},"app_store_url_ios":{"anyOf":[{"type":"string"},{"type":"null"}]},"app_store_url_android":{"anyOf":[{"type":"string"},{"type":"null"}]},"app_metadata":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{}},"profile_version":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},"updated_by":{"anyOf":[{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},{"type":"null"}]},"updated_by_kind":{"type":"string","enum":["jwt","api_key","delegated_ai","migration"]},"updated_by_api_key_id":{"anyOf":[{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},{"type":"null"}]},"updated_by_delegated_grant_id":{"anyOf":[{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},{"type":"null"}]},"created_at":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},"updated_at":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"}},"required":["project_id","workspace_id","tagline","description","voice","target_audience","color_palette","goals","no_go_topics","language_primary","positioning","usp","visual_identity","forbidden_claims","north_star_metric","posting_cadence","app_store_url_ios","app_store_url_android","app_metadata","profile_version","updated_by","updated_by_kind","updated_by_api_key_id","updated_by_delegated_grant_id","created_at","updated_at"]},"receipt_id":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"applied":{"type":"boolean"},"deduped":{"type":"boolean"}},"required":["contract_version","profile","receipt_id","applied","deduped"]},"studio-api-projects-set-active-request":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"project_id":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"}},"required":["project_id"],"additionalProperties":false},"studio-api-projects-set-active-response":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"ok":{"type":"boolean","const":true},"active_project_id":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"}},"required":["ok","active_project_id"]},"studio-api-projects-unarchive-request":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"id":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"expected_lifecycle_version":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},"idempotency_key":{"type":"string","minLength":8,"maxLength":160}},"required":["id","expected_lifecycle_version","idempotency_key"],"additionalProperties":false},"studio-api-projects-unarchive-response":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"project":{"type":"object","properties":{"id":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"workspace_id":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"name":{"type":"string","minLength":1,"maxLength":200},"operational_state":{"type":"string","enum":["active","archived"]},"lifecycle_version":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},"defaults_version":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},"archived_at":{"anyOf":[{"type":"string"},{"type":"null"}]},"archived_by":{"anyOf":[{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},{"type":"null"}]},"archived_by_api_key_id":{"anyOf":[{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},{"type":"null"}]},"created_at":{"type":"string"},"updated_at":{"type":"string"},"version":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991}},"required":["id","workspace_id","name","operational_state","lifecycle_version","defaults_version","archived_at","archived_by","archived_by_api_key_id","created_at","updated_at"]},"receipt_id":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"applied":{"type":"boolean"},"deduped":{"type":"boolean"},"resumed_schedule_count":{"type":"integer","minimum":0,"maximum":9007199254740991},"needs_reschedule_count":{"type":"integer","minimum":0,"maximum":9007199254740991}},"required":["project","receipt_id","applied","deduped","resumed_schedule_count","needs_reschedule_count"]},"studio-api-projects-update-request":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"id":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"name":{"type":"string","minLength":1,"maxLength":200},"expected_version":{"description":"Optional. The version you read. If it changed since, the update fails with 409 VERSION_CONFLICT instead of overwriting.","type":"integer","exclusiveMinimum":0,"maximum":2147483647},"include_version":{"description":"Optional. true adds the resource version to the answer.","type":"boolean"}},"required":["id","name"],"additionalProperties":false},"studio-api-projects-update-response":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"project":{"type":"object","properties":{"id":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"workspace_id":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"name":{"type":"string","minLength":1,"maxLength":200},"operational_state":{"type":"string","enum":["active","archived"]},"lifecycle_version":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},"defaults_version":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},"archived_at":{"anyOf":[{"type":"string"},{"type":"null"}]},"archived_by":{"anyOf":[{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},{"type":"null"}]},"archived_by_api_key_id":{"anyOf":[{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},{"type":"null"}]},"created_at":{"type":"string"},"updated_at":{"type":"string"},"version":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991}},"required":["id","workspace_id","name","operational_state","lifecycle_version","defaults_version","archived_at","archived_by","archived_by_api_key_id","created_at","updated_at"]}},"required":["project"]},"studio-api-publication-attentions-list-request":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"workspace_id":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"status":{"type":"string","enum":["open","resolved"]},"scheduled_post_id":{"type":"string","pattern":"^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$"},"limit":{"default":50,"type":"integer","minimum":1,"maximum":200},"offset":{"default":0,"type":"integer","minimum":0,"maximum":10000}},"required":["workspace_id"],"additionalProperties":false},"studio-api-publication-attentions-list-response":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"attentions":{"maxItems":200,"type":"array","items":{"type":"object","properties":{"id":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"workspace_id":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"scheduled_post_id":{"type":"string","pattern":"^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$"},"publication_attempt_id":{"anyOf":[{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},{"type":"null"}]},"social_account_id":{"anyOf":[{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},{"type":"null"}]},"platform":{"type":"string","enum":["instagram","threads","facebook","youtube","x"]},"account_label":{"type":"string"},"status":{"type":"string","enum":["open","resolved"]},"cause":{"type":"string","enum":["terminal_failure","missing_evidence","delete_failed","stuck_dispatch"]},"reason_code":{"type":"string","enum":["publication_failed","delivery_evidence_pending","provider_delete_needs_review","delivery_delayed"]},"message":{"type":"string","minLength":1,"maxLength":500},"actionability":{"type":"string","enum":["user_actionable","vic_handling","resolved"]},"available_actions":{"maxItems":1,"type":"array","items":{"type":"string","enum":["retry","delete"]}},"opened_at":{"type":"string"},"first_observed_at":{"type":"string"},"last_observed_at":{"type":"string"},"resolved_at":{"anyOf":[{"type":"string"},{"type":"null"}]},"created_at":{"type":"string"},"updated_at":{"type":"string"}},"required":["id","workspace_id","scheduled_post_id","publication_attempt_id","social_account_id","platform","account_label","status","cause","reason_code","message","actionability","available_actions","opened_at","first_observed_at","last_observed_at","resolved_at","created_at","updated_at"]}},"next_offset":{"anyOf":[{"type":"integer","minimum":0,"maximum":10000},{"type":"null"}]},"returned_count":{"type":"integer","minimum":0,"maximum":200},"total":{"type":"integer","minimum":0,"maximum":9007199254740991}},"required":["attentions","next_offset","returned_count","total"]},"studio-api-scheduled-posts-bulk-create-request":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"workspace_id":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"project_id":{"anyOf":[{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},{"type":"null"}]},"source_ref":{"anyOf":[{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{}},{"type":"null"}]},"targets":{"minItems":1,"maxItems":50,"type":"array","items":{"type":"object","properties":{"social_account_id":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"caption":{"default":null,"anyOf":[{"type":"string","maxLength":5000},{"type":"null"}]},"hashtags":{"default":[],"maxItems":100,"type":"array","items":{"type":"string","maxLength":100}},"media":{"default":[],"maxItems":20,"type":"array","items":{"type":"object","properties":{"kind":{"type":"string","enum":["image","video"]},"url":{"type":"string","format":"uri"},"cover_url":{"anyOf":[{"type":"string","format":"uri"},{"type":"null"}]},"cover_asset_id":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"null"}]},"asset_id":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"null"}]},"mime_type":{"anyOf":[{"type":"string","minLength":1,"maxLength":160},{"type":"null"}]}},"required":["kind","url"],"additionalProperties":false}},"link_url":{"anyOf":[{"type":"string","format":"uri"},{"type":"null"}]},"provider_payload":{"oneOf":[{"type":"object","properties":{"platform":{"type":"string","const":"x"},"publish_options":{"type":"object","properties":{"post_type":{"type":"string","const":"TEXT"}},"required":["post_type"],"additionalProperties":false}},"required":["platform","publish_options"],"additionalProperties":false},{"type":"object","properties":{"platform":{"type":"string","const":"instagram"},"publish_options":{"type":"object","properties":{"post_type":{"type":"string","enum":["IMAGE","VIDEO","CAROUSEL","REELS","STORY_IMAGE","STORY_VIDEO"]},"location_id":{"type":"string","minLength":1,"maxLength":256},"share_to_feed":{"type":"boolean"},"collaborators":{"maxItems":3,"type":"array","items":{"type":"string","minLength":1,"maxLength":30}},"first_comment":{"type":"string","minLength":1,"maxLength":2200},"cover_asset_id":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},"thumb_offset_ms":{"type":"integer","minimum":0,"maximum":9007199254740991},"audio_name":{"type":"string","minLength":1,"maxLength":100},"trial_params":{"type":"object","properties":{"graduation_strategy":{"type":"string","enum":["MANUAL","SS_PERFORMANCE"]}},"required":["graduation_strategy"],"additionalProperties":false},"is_ai_generated":{"type":"boolean"},"branded_content_sponsor_ids":{"maxItems":2,"type":"array","items":{"type":"string","minLength":1,"maxLength":256}},"is_paid_partnership":{"type":"boolean"},"media_options":{"maxItems":10,"type":"array","items":{"type":"object","properties":{"asset_id":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},"alt_text":{"type":"string","minLength":1,"maxLength":1000},"user_tags":{"maxItems":20,"type":"array","items":{"type":"object","properties":{"username":{"type":"string","minLength":1,"maxLength":30},"x":{"type":"number","minimum":0,"maximum":1},"y":{"type":"number","minimum":0,"maximum":1}},"required":["username"],"additionalProperties":false}},"product_tags":{"maxItems":5,"type":"array","items":{"type":"object","properties":{"product_id":{"type":"string","minLength":1,"maxLength":256},"x":{"type":"number","minimum":0,"maximum":1},"y":{"type":"number","minimum":0,"maximum":1}},"required":["product_id"],"additionalProperties":false}},"thumb_offset_ms":{"type":"integer","minimum":0,"maximum":9007199254740991}},"required":["asset_id"],"additionalProperties":false}}},"required":["post_type"],"additionalProperties":false}},"required":["platform","publish_options"],"additionalProperties":false},{"type":"object","properties":{"platform":{"type":"string","const":"facebook"},"publish_options":{"type":"object","properties":{"post_type":{"type":"string","enum":["TEXT","LINK","IMAGE","MULTI_IMAGE","VIDEO","REELS","STORY_IMAGE","STORY_VIDEO"]},"title":{"type":"string","maxLength":255},"description":{"type":"string","maxLength":5000},"publication_mode":{"type":"string","enum":["PUBLISH","DRAFT"]},"backdated_time":{"type":"number"},"backdated_time_granularity":{"type":"string","enum":["year","month","day","hour","minute"]},"place":{"type":"string","minLength":1,"maxLength":256},"tags":{"maxItems":50,"type":"array","items":{"type":"string","minLength":1,"maxLength":256}},"feed_targeting":{"type":"object","properties":{"age_min":{"type":"integer","minimum":13,"maximum":65},"age_max":{"type":"integer","minimum":13,"maximum":65},"college_years":{"maxItems":100,"type":"array","items":{"type":"integer","minimum":1900,"maximum":2200}},"education_statuses":{"maxItems":3,"type":"array","items":{"anyOf":[{"type":"number","const":1},{"type":"number","const":2},{"type":"number","const":3}]}},"genders":{"maxItems":2,"type":"array","items":{"anyOf":[{"type":"number","const":1},{"type":"number","const":2}]}},"geo_locations":{"type":"object","properties":{"countries":{"minItems":1,"maxItems":25,"type":"array","items":{"type":"string","pattern":"^[A-Z]{2}$"}},"regions":{"minItems":1,"maxItems":250,"type":"array","items":{"type":"object","properties":{"key":{"anyOf":[{"type":"string","minLength":1,"maxLength":256},{"type":"integer","minimum":0,"maximum":9007199254740991}]}},"required":["key"],"additionalProperties":false}},"cities":{"minItems":1,"maxItems":250,"type":"array","items":{"type":"object","properties":{"key":{"anyOf":[{"type":"string","minLength":1,"maxLength":256},{"type":"integer","minimum":0,"maximum":9007199254740991}]},"radius":{"type":"number","exclusiveMinimum":0,"maximum":1000},"distance_unit":{"type":"string","enum":["mile","kilometer"]}},"required":["key"],"additionalProperties":false}},"zips":{"minItems":1,"maxItems":250,"type":"array","items":{"type":"object","properties":{"key":{"anyOf":[{"type":"string","minLength":1,"maxLength":256},{"type":"integer","minimum":0,"maximum":9007199254740991}]}},"required":["key"],"additionalProperties":false}},"location_types":{"minItems":1,"maxItems":2,"type":"array","items":{"type":"string","enum":["home","recent"]}}},"additionalProperties":false},"interests":{"maxItems":250,"type":"array","items":{"anyOf":[{"type":"string","minLength":1,"maxLength":256},{"type":"integer","minimum":0,"maximum":9007199254740991}]}},"locales":{"maxItems":250,"type":"array","items":{"type":"integer","minimum":0,"maximum":9007199254740991}},"relationship_statuses":{"maxItems":4,"type":"array","items":{"anyOf":[{"type":"number","const":1},{"type":"number","const":2},{"type":"number","const":3},{"type":"number","const":4}]}}},"additionalProperties":false},"targeting":{"type":"object","properties":{"age_min":{"anyOf":[{"type":"number","const":13},{"type":"number","const":15},{"type":"number","const":18},{"type":"number","const":21},{"type":"number","const":25}]},"geo_locations":{"type":"object","properties":{"countries":{"minItems":1,"maxItems":25,"type":"array","items":{"type":"string","pattern":"^[A-Z]{2}$"}},"regions":{"minItems":1,"maxItems":250,"type":"array","items":{"type":"object","properties":{"key":{"anyOf":[{"type":"string","minLength":1,"maxLength":256},{"type":"integer","minimum":0,"maximum":9007199254740991}]}},"required":["key"],"additionalProperties":false}},"cities":{"minItems":1,"maxItems":250,"type":"array","items":{"type":"object","properties":{"key":{"anyOf":[{"type":"string","minLength":1,"maxLength":256},{"type":"integer","minimum":0,"maximum":9007199254740991}]},"radius":{"type":"number","exclusiveMinimum":0,"maximum":1000},"distance_unit":{"type":"string","enum":["mile","kilometer"]}},"required":["key"],"additionalProperties":false}},"zips":{"minItems":1,"maxItems":250,"type":"array","items":{"type":"object","properties":{"key":{"anyOf":[{"type":"string","minLength":1,"maxLength":256},{"type":"integer","minimum":0,"maximum":9007199254740991}]}},"required":["key"],"additionalProperties":false}},"location_types":{"minItems":1,"maxItems":2,"type":"array","items":{"type":"string","enum":["home","recent"]}}},"additionalProperties":false}},"additionalProperties":false},"child_attachments":{"minItems":2,"maxItems":10,"type":"array","items":{"type":"object","properties":{"link":{"type":"string","format":"uri"},"name":{"type":"string","maxLength":255},"description":{"type":"string","maxLength":1000},"picture":{"type":"string","format":"uri"}},"required":["link","picture"],"additionalProperties":false}},"multi_share_end_card":{"type":"boolean"},"multi_share_optimized":{"type":"boolean"},"unpublished_content_type":{"type":"string","enum":["SCHEDULED","SCHEDULED_RECURRING","DRAFT","PUBLISH_PENDING","ADS_POST","INLINE_CREATED","PUBLISHED","REVIEWABLE_BRANDED_CONTENT"]},"no_story":{"type":"boolean"},"crossposted_video_id":{"type":"string","minLength":1,"maxLength":256},"spherical":{"type":"boolean"},"media_options":{"maxItems":20,"type":"array","items":{"type":"object","properties":{"asset_id":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},"alt_text_custom":{"type":"string","minLength":1,"maxLength":1000}},"required":["asset_id"],"additionalProperties":false}}},"required":["post_type"],"additionalProperties":false}},"required":["platform","publish_options"],"additionalProperties":false},{"type":"object","properties":{"platform":{"type":"string","const":"threads"},"publish_options":{"type":"object","properties":{"post_type":{"type":"string","enum":["TEXT","IMAGE","VIDEO","CAROUSEL","REPOST"]},"reply_to_id":{"type":"string","minLength":1,"maxLength":256},"quote_post_id":{"type":"string","minLength":1,"maxLength":256},"repost_target_id":{"type":"string","minLength":1,"maxLength":256},"reply_control":{"type":"string","enum":["everyone","accounts_you_follow","mentioned_only","parent_post_author_only","followers_only"]},"enable_reply_approvals":{"type":"boolean"},"link_attachment":{"type":"string","format":"uri"},"poll_attachment":{"type":"object","properties":{"option_a":{"type":"string","minLength":1,"maxLength":25},"option_b":{"type":"string","minLength":1,"maxLength":25},"option_c":{"type":"string","minLength":1,"maxLength":25},"option_d":{"type":"string","minLength":1,"maxLength":25}},"required":["option_a","option_b"],"additionalProperties":false},"gif_attachment":{"type":"object","properties":{"gif_id":{"type":"string","minLength":1,"maxLength":256},"provider":{"type":"string","const":"GIPHY"}},"required":["gif_id","provider"],"additionalProperties":false},"text_attachment":{"type":"object","properties":{"plaintext":{"type":"string","minLength":1,"maxLength":10000},"link_attachment_url":{"type":"string","format":"uri"},"text_with_styling_info":{"maxItems":100,"type":"array","items":{"type":"object","properties":{"offset":{"type":"integer","minimum":0,"maximum":9007199254740991},"length":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},"styling_info":{"minItems":1,"type":"array","items":{"type":"string","enum":["bold","italic","highlight","underline","strikethrough"]}}},"required":["offset","length","styling_info"],"additionalProperties":false}}},"required":["plaintext"],"additionalProperties":false},"topic_tag":{"type":"string","minLength":1,"maxLength":50},"text_entities":{"maxItems":10,"type":"array","items":{"type":"object","properties":{"entity_type":{"type":"string","enum":["SPOILER","spoiler"]},"offset":{"type":"integer","minimum":0,"maximum":9007199254740991},"length":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991}},"required":["entity_type","offset","length"],"additionalProperties":false}},"is_spoiler_media":{"type":"boolean"},"is_ghost_post":{"type":"boolean"},"location_id":{"type":"string","minLength":1,"maxLength":256},"allowlisted_country_codes":{"minItems":1,"maxItems":249,"type":"array","items":{"type":"string","pattern":"^[A-Z]{2}$"}},"crossreshare_to_ig":{"type":"boolean"},"crossreshare_to_ig_dark_mode":{"type":"boolean"},"auto_publish_text":{"type":"boolean"},"media_options":{"maxItems":20,"type":"array","items":{"type":"object","properties":{"asset_id":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},"alt_text":{"type":"string","minLength":1,"maxLength":1000},"is_spoiler_media":{"type":"boolean"}},"required":["asset_id"],"additionalProperties":false}}},"required":["post_type"],"additionalProperties":false}},"required":["platform","publish_options"],"additionalProperties":false},{"type":"object","properties":{"platform":{"type":"string","const":"youtube"},"publish_options":{"type":"object","properties":{"post_type":{"type":"string","const":"VIDEO"},"title":{"type":"string","minLength":1,"maxLength":100},"description":{"type":"string","maxLength":5000},"tags":{"maxItems":100,"type":"array","items":{"type":"string","minLength":1,"maxLength":500}},"category_id":{"anyOf":[{"type":"string","minLength":0,"maxLength":0},{"type":"string","pattern":"^\\d+$"}]},"default_language":{"type":"string","minLength":2,"maxLength":35},"localizations":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{"type":"object","properties":{"title":{"type":"string","minLength":1,"maxLength":100},"description":{"type":"string","maxLength":5000}},"required":["title","description"],"additionalProperties":false}},"privacy_status":{"type":"string","enum":["private","unlisted","public"]},"cancellation_mode":{"type":"string","enum":["DELETE","UNSCHEDULE_KEEP_PRIVATE"]},"license":{"type":"string","enum":["youtube","creativeCommon"]},"embeddable":{"type":"boolean"},"public_stats_viewable":{"type":"boolean"},"self_declared_made_for_kids":{"type":"boolean"},"contains_synthetic_media":{"type":"boolean"},"has_paid_product_placement":{"type":"boolean"},"recording_date":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},"notify_subscribers":{"type":"boolean"},"thumbnail_asset_id":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},"surface_expectation":{"type":"string","const":"SHORT"},"brand_partner":{"type":"object","properties":{"channel_id":{"type":"string","pattern":"^UC[A-Za-z0-9_-]+$"},"channel_handle":{"type":"string","pattern":"^@[A-Za-z0-9._-]+$"}},"additionalProperties":false}},"required":["post_type","title","privacy_status","cancellation_mode"],"additionalProperties":false}},"required":["platform","publish_options"],"additionalProperties":false}]},"scheduled_at":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},"display_timezone":{"default":"UTC","type":"string","minLength":1,"maxLength":80},"local_scheduled_at":{"type":"string","pattern":"^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}(?::\\d{2}(?:\\.\\d{1,6})?)?$"},"schedule_dst_disambiguation":{"type":"string","enum":["exact","earlier","later"]},"expires_at":{"anyOf":[{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},{"type":"null"}]},"source_ref":{"anyOf":[{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{}},{"type":"null"}]},"automatic_retry_enabled":{"default":true,"type":"boolean"},"idempotency_key":{"type":"string","minLength":8,"maxLength":160}},"required":["social_account_id","provider_payload","scheduled_at","idempotency_key"],"additionalProperties":false}}},"required":["workspace_id","targets"],"additionalProperties":false},"studio-api-scheduled-posts-bulk-create-response":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"batch_id":{"anyOf":[{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},{"type":"null"}]},"successes":{"type":"array","items":{"type":"object","properties":{"social_account_id":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"post":{"type":"object","properties":{"id":{"type":"string","pattern":"^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$"},"workspace_id":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"social_account_id":{"anyOf":[{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},{"type":"null"}]},"platform":{"type":"string","enum":["instagram","threads","facebook","youtube","x"]},"destination":{"type":"object","properties":{"social_account_id":{"anyOf":[{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},{"type":"null"}]},"platform":{"type":"string","enum":["instagram","threads","facebook","youtube","x"]},"platform_user_id":{"anyOf":[{"type":"string"},{"type":"null"}]},"account_label":{"anyOf":[{"type":"string"},{"type":"null"}]}},"required":["social_account_id","platform","platform_user_id","account_label"]},"caption":{"anyOf":[{"type":"string"},{"type":"null"}]},"hashtags":{"type":"array","items":{"type":"string"}},"media":{"type":"array","items":{"type":"object","properties":{"kind":{"type":"string","enum":["image","video"]},"url":{"type":"string","format":"uri"},"cover_url":{"anyOf":[{"type":"string","format":"uri"},{"type":"null"}]},"cover_asset_id":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"null"}]},"asset_id":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"null"}]},"mime_type":{"anyOf":[{"type":"string","minLength":1,"maxLength":160},{"type":"null"}]},"preview_url":{"description":"Temporary authorized read URL; keep url as persisted Scheduled Post media identity.","anyOf":[{"type":"string","format":"uri"},{"type":"null"}]},"cover_preview_url":{"description":"Temporary authorized cover read URL; keep cover_url as persisted media identity.","anyOf":[{"type":"string","format":"uri"},{"type":"null"}]},"preview_expires_at":{"anyOf":[{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z))$"},{"type":"null"}]}},"required":["kind","url"]}},"link_url":{"anyOf":[{"type":"string","format":"uri"},{"type":"null"}]},"publish_options":{"type":"object","properties":{"post_type":{"type":"string","enum":["TEXT","LINK","IMAGE","MULTI_IMAGE","VIDEO","CAROUSEL","REELS","STORY_IMAGE","STORY_VIDEO","REPOST","SHORT"]},"location_id":{"type":"string","minLength":1},"share_to_feed":{"type":"boolean"},"collaborators":{"maxItems":3,"type":"array","items":{"type":"string","minLength":1}},"first_comment":{"type":"string","minLength":1,"maxLength":2200},"topic_tag":{"type":"string","minLength":1},"thumb_offset_ms":{"type":"integer","minimum":0,"maximum":9007199254740991},"title":{"type":"string","maxLength":255},"youtube_privacy_status":{"type":"string","enum":["private","unlisted","public"]},"youtube_category_id":{"type":"string","pattern":"^\\d+$"},"youtube_contains_synthetic_media":{"type":"boolean"},"description":{"type":"string","maxLength":5000},"category_id":{"type":"string","pattern":"^\\d+$"},"privacy_status":{"type":"string","enum":["private","unlisted","public"]},"cancellation_mode":{"type":"string","enum":["DELETE","UNSCHEDULE_KEEP_PRIVATE"]},"tags":{"type":"array","items":{"type":"string"}},"default_language":{"type":"string"},"localizations":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{}},"license":{"type":"string","enum":["youtube","creativeCommon"]},"embeddable":{"type":"boolean"},"public_stats_viewable":{"type":"boolean"},"self_declared_made_for_kids":{"type":"boolean"},"contains_synthetic_media":{"type":"boolean"},"has_paid_product_placement":{"type":"boolean"},"recording_date":{"type":"string"},"notify_subscribers":{"type":"boolean"},"thumbnail_asset_id":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},"surface_expectation":{"type":"string","const":"SHORT"},"brand_partner":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{}},"cover_asset_id":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},"audio_name":{"type":"string"},"trial_params":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{}},"is_ai_generated":{"type":"boolean"},"branded_content_sponsor_ids":{"type":"array","items":{"type":"string"}},"is_paid_partnership":{"type":"boolean"},"media_options":{"type":"array","items":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{}}},"reply_to_id":{"type":"string"},"quote_post_id":{"type":"string"},"repost_target_id":{"type":"string"},"reply_control":{"type":"string"},"enable_reply_approvals":{"type":"boolean"},"link_attachment":{"type":"string","format":"uri"},"poll_attachment":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{}},"gif_attachment":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{}},"text_attachment":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{}},"text_entities":{"type":"array","items":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{}}},"is_spoiler_media":{"type":"boolean"},"is_ghost_post":{"type":"boolean"},"allowlisted_country_codes":{"type":"array","items":{"type":"string"}},"crossreshare_to_ig":{"type":"boolean"},"crossreshare_to_ig_dark_mode":{"type":"boolean"},"auto_publish_text":{"type":"boolean"},"publication_mode":{"type":"string","enum":["PUBLISH","DRAFT"]},"backdated_time":{"type":"number"},"backdated_time_granularity":{"type":"string","enum":["year","month","day","hour","minute"]},"place":{"type":"string"},"feed_targeting":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{}},"targeting":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{}},"child_attachments":{"type":"array","items":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{}}},"multi_share_end_card":{"type":"boolean"},"multi_share_optimized":{"type":"boolean"},"unpublished_content_type":{"type":"string"},"no_story":{"type":"boolean"},"crossposted_video_id":{"type":"string"},"spherical":{"type":"boolean"}}},"scheduled_at":{"type":"string"},"display_timezone":{"type":"string","minLength":1,"maxLength":80},"local_scheduled_at":{"anyOf":[{"type":"string","pattern":"^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}(?::\\d{2}(?:\\.\\d{1,6})?)?$"},{"type":"null"}]},"schedule_timezone":{"anyOf":[{"type":"string","minLength":1,"maxLength":80},{"type":"null"}]},"schedule_dst_disambiguation":{"anyOf":[{"type":"string","enum":["exact","earlier","later"]},{"type":"null"}]},"schedule_intent_state":{"type":"string","enum":["verified","legacy_unverified"]},"expires_at":{"anyOf":[{"type":"string"},{"type":"null"}]},"status":{"type":"string","enum":["scheduled","publishing","published","failed","expired","needs_reschedule","cancelled","deleted"]},"version":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},"automatic_retry_enabled":{"type":"boolean"},"delete_requested_at":{"anyOf":[{"type":"string"},{"type":"null"}]},"published_at":{"anyOf":[{"type":"string"},{"type":"null"}]},"deleted_at":{"anyOf":[{"type":"string"},{"type":"null"}]},"provider_post_id":{"anyOf":[{"type":"string"},{"type":"null"}]},"permalink":{"anyOf":[{"type":"string","format":"uri"},{"type":"null"}]},"created_at":{"type":"string"},"updated_at":{"type":"string"},"project_id":{"anyOf":[{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},{"type":"null"}]},"batch_id":{"anyOf":[{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},{"type":"null"}]},"source_ref":{"anyOf":[{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{}},{"type":"null"}]}},"required":["id","workspace_id","social_account_id","platform","destination","caption","hashtags","media","publish_options","scheduled_at","display_timezone","expires_at","status","version","automatic_retry_enabled","delete_requested_at","published_at","deleted_at","provider_post_id","permalink","created_at","updated_at","project_id","batch_id","source_ref"]}},"required":["social_account_id","post"]}},"failures":{"type":"array","items":{"type":"object","properties":{"social_account_id":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"code":{"type":"string"},"message":{"type":"string"}},"required":["social_account_id","code","message"]}}},"required":["batch_id","successes","failures"]},"studio-api-scheduled-posts-cancel-request":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"id":{"type":"string","pattern":"^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$"},"expected_version":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991}},"required":["id","expected_version"],"additionalProperties":false},"studio-api-scheduled-posts-cancel-response":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"post":{"type":"object","properties":{"id":{"type":"string","pattern":"^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$"},"workspace_id":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"social_account_id":{"anyOf":[{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},{"type":"null"}]},"platform":{"type":"string","enum":["instagram","threads","facebook","youtube","x"]},"destination":{"type":"object","properties":{"social_account_id":{"anyOf":[{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},{"type":"null"}]},"platform":{"type":"string","enum":["instagram","threads","facebook","youtube","x"]},"platform_user_id":{"anyOf":[{"type":"string"},{"type":"null"}]},"account_label":{"anyOf":[{"type":"string"},{"type":"null"}]}},"required":["social_account_id","platform","platform_user_id","account_label"]},"caption":{"anyOf":[{"type":"string"},{"type":"null"}]},"hashtags":{"type":"array","items":{"type":"string"}},"media":{"type":"array","items":{"type":"object","properties":{"kind":{"type":"string","enum":["image","video"]},"url":{"type":"string","format":"uri"},"cover_url":{"anyOf":[{"type":"string","format":"uri"},{"type":"null"}]},"cover_asset_id":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"null"}]},"asset_id":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"null"}]},"mime_type":{"anyOf":[{"type":"string","minLength":1,"maxLength":160},{"type":"null"}]},"preview_url":{"description":"Temporary authorized read URL; keep url as persisted Scheduled Post media identity.","anyOf":[{"type":"string","format":"uri"},{"type":"null"}]},"cover_preview_url":{"description":"Temporary authorized cover read URL; keep cover_url as persisted media identity.","anyOf":[{"type":"string","format":"uri"},{"type":"null"}]},"preview_expires_at":{"anyOf":[{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z))$"},{"type":"null"}]}},"required":["kind","url"]}},"link_url":{"anyOf":[{"type":"string","format":"uri"},{"type":"null"}]},"publish_options":{"type":"object","properties":{"post_type":{"type":"string","enum":["TEXT","LINK","IMAGE","MULTI_IMAGE","VIDEO","CAROUSEL","REELS","STORY_IMAGE","STORY_VIDEO","REPOST","SHORT"]},"location_id":{"type":"string","minLength":1},"share_to_feed":{"type":"boolean"},"collaborators":{"maxItems":3,"type":"array","items":{"type":"string","minLength":1}},"first_comment":{"type":"string","minLength":1,"maxLength":2200},"topic_tag":{"type":"string","minLength":1},"thumb_offset_ms":{"type":"integer","minimum":0,"maximum":9007199254740991},"title":{"type":"string","maxLength":255},"youtube_privacy_status":{"type":"string","enum":["private","unlisted","public"]},"youtube_category_id":{"type":"string","pattern":"^\\d+$"},"youtube_contains_synthetic_media":{"type":"boolean"},"description":{"type":"string","maxLength":5000},"category_id":{"type":"string","pattern":"^\\d+$"},"privacy_status":{"type":"string","enum":["private","unlisted","public"]},"cancellation_mode":{"type":"string","enum":["DELETE","UNSCHEDULE_KEEP_PRIVATE"]},"tags":{"type":"array","items":{"type":"string"}},"default_language":{"type":"string"},"localizations":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{}},"license":{"type":"string","enum":["youtube","creativeCommon"]},"embeddable":{"type":"boolean"},"public_stats_viewable":{"type":"boolean"},"self_declared_made_for_kids":{"type":"boolean"},"contains_synthetic_media":{"type":"boolean"},"has_paid_product_placement":{"type":"boolean"},"recording_date":{"type":"string"},"notify_subscribers":{"type":"boolean"},"thumbnail_asset_id":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},"surface_expectation":{"type":"string","const":"SHORT"},"brand_partner":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{}},"cover_asset_id":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},"audio_name":{"type":"string"},"trial_params":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{}},"is_ai_generated":{"type":"boolean"},"branded_content_sponsor_ids":{"type":"array","items":{"type":"string"}},"is_paid_partnership":{"type":"boolean"},"media_options":{"type":"array","items":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{}}},"reply_to_id":{"type":"string"},"quote_post_id":{"type":"string"},"repost_target_id":{"type":"string"},"reply_control":{"type":"string"},"enable_reply_approvals":{"type":"boolean"},"link_attachment":{"type":"string","format":"uri"},"poll_attachment":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{}},"gif_attachment":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{}},"text_attachment":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{}},"text_entities":{"type":"array","items":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{}}},"is_spoiler_media":{"type":"boolean"},"is_ghost_post":{"type":"boolean"},"allowlisted_country_codes":{"type":"array","items":{"type":"string"}},"crossreshare_to_ig":{"type":"boolean"},"crossreshare_to_ig_dark_mode":{"type":"boolean"},"auto_publish_text":{"type":"boolean"},"publication_mode":{"type":"string","enum":["PUBLISH","DRAFT"]},"backdated_time":{"type":"number"},"backdated_time_granularity":{"type":"string","enum":["year","month","day","hour","minute"]},"place":{"type":"string"},"feed_targeting":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{}},"targeting":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{}},"child_attachments":{"type":"array","items":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{}}},"multi_share_end_card":{"type":"boolean"},"multi_share_optimized":{"type":"boolean"},"unpublished_content_type":{"type":"string"},"no_story":{"type":"boolean"},"crossposted_video_id":{"type":"string"},"spherical":{"type":"boolean"}}},"scheduled_at":{"type":"string"},"display_timezone":{"type":"string","minLength":1,"maxLength":80},"local_scheduled_at":{"anyOf":[{"type":"string","pattern":"^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}(?::\\d{2}(?:\\.\\d{1,6})?)?$"},{"type":"null"}]},"schedule_timezone":{"anyOf":[{"type":"string","minLength":1,"maxLength":80},{"type":"null"}]},"schedule_dst_disambiguation":{"anyOf":[{"type":"string","enum":["exact","earlier","later"]},{"type":"null"}]},"schedule_intent_state":{"type":"string","enum":["verified","legacy_unverified"]},"expires_at":{"anyOf":[{"type":"string"},{"type":"null"}]},"status":{"type":"string","enum":["scheduled","publishing","published","failed","expired","needs_reschedule","cancelled","deleted"]},"version":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},"automatic_retry_enabled":{"type":"boolean"},"delete_requested_at":{"anyOf":[{"type":"string"},{"type":"null"}]},"published_at":{"anyOf":[{"type":"string"},{"type":"null"}]},"deleted_at":{"anyOf":[{"type":"string"},{"type":"null"}]},"provider_post_id":{"anyOf":[{"type":"string"},{"type":"null"}]},"permalink":{"anyOf":[{"type":"string","format":"uri"},{"type":"null"}]},"created_at":{"type":"string"},"updated_at":{"type":"string"},"project_id":{"anyOf":[{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},{"type":"null"}]},"batch_id":{"anyOf":[{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},{"type":"null"}]},"source_ref":{"anyOf":[{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{}},{"type":"null"}]}},"required":["id","workspace_id","social_account_id","platform","destination","caption","hashtags","media","publish_options","scheduled_at","display_timezone","expires_at","status","version","automatic_retry_enabled","delete_requested_at","published_at","deleted_at","provider_post_id","permalink","created_at","updated_at","project_id","batch_id","source_ref"]}},"required":["post"]},"studio-api-scheduled-posts-create-request":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"workspace_id":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"project_id":{"anyOf":[{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},{"type":"null"}]},"social_account_id":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"caption":{"default":null,"anyOf":[{"type":"string","maxLength":5000},{"type":"null"}]},"hashtags":{"default":[],"maxItems":100,"type":"array","items":{"type":"string","maxLength":100}},"media":{"default":[],"maxItems":20,"type":"array","items":{"type":"object","properties":{"kind":{"type":"string","enum":["image","video"]},"url":{"type":"string","format":"uri"},"cover_url":{"anyOf":[{"type":"string","format":"uri"},{"type":"null"}]},"cover_asset_id":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"null"}]},"asset_id":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"null"}]},"mime_type":{"anyOf":[{"type":"string","minLength":1,"maxLength":160},{"type":"null"}]}},"required":["kind","url"],"additionalProperties":false}},"link_url":{"anyOf":[{"type":"string","format":"uri"},{"type":"null"}]},"provider_payload":{"oneOf":[{"type":"object","properties":{"platform":{"type":"string","const":"x"},"publish_options":{"type":"object","properties":{"post_type":{"type":"string","const":"TEXT"}},"required":["post_type"],"additionalProperties":false}},"required":["platform","publish_options"],"additionalProperties":false},{"type":"object","properties":{"platform":{"type":"string","const":"instagram"},"publish_options":{"type":"object","properties":{"post_type":{"type":"string","enum":["IMAGE","VIDEO","CAROUSEL","REELS","STORY_IMAGE","STORY_VIDEO"]},"location_id":{"type":"string","minLength":1,"maxLength":256},"share_to_feed":{"type":"boolean"},"collaborators":{"maxItems":3,"type":"array","items":{"type":"string","minLength":1,"maxLength":30}},"first_comment":{"type":"string","minLength":1,"maxLength":2200},"cover_asset_id":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},"thumb_offset_ms":{"type":"integer","minimum":0,"maximum":9007199254740991},"audio_name":{"type":"string","minLength":1,"maxLength":100},"trial_params":{"type":"object","properties":{"graduation_strategy":{"type":"string","enum":["MANUAL","SS_PERFORMANCE"]}},"required":["graduation_strategy"],"additionalProperties":false},"is_ai_generated":{"type":"boolean"},"branded_content_sponsor_ids":{"maxItems":2,"type":"array","items":{"type":"string","minLength":1,"maxLength":256}},"is_paid_partnership":{"type":"boolean"},"media_options":{"maxItems":10,"type":"array","items":{"type":"object","properties":{"asset_id":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},"alt_text":{"type":"string","minLength":1,"maxLength":1000},"user_tags":{"maxItems":20,"type":"array","items":{"type":"object","properties":{"username":{"type":"string","minLength":1,"maxLength":30},"x":{"type":"number","minimum":0,"maximum":1},"y":{"type":"number","minimum":0,"maximum":1}},"required":["username"],"additionalProperties":false}},"product_tags":{"maxItems":5,"type":"array","items":{"type":"object","properties":{"product_id":{"type":"string","minLength":1,"maxLength":256},"x":{"type":"number","minimum":0,"maximum":1},"y":{"type":"number","minimum":0,"maximum":1}},"required":["product_id"],"additionalProperties":false}},"thumb_offset_ms":{"type":"integer","minimum":0,"maximum":9007199254740991}},"required":["asset_id"],"additionalProperties":false}}},"required":["post_type"],"additionalProperties":false}},"required":["platform","publish_options"],"additionalProperties":false},{"type":"object","properties":{"platform":{"type":"string","const":"facebook"},"publish_options":{"type":"object","properties":{"post_type":{"type":"string","enum":["TEXT","LINK","IMAGE","MULTI_IMAGE","VIDEO","REELS","STORY_IMAGE","STORY_VIDEO"]},"title":{"type":"string","maxLength":255},"description":{"type":"string","maxLength":5000},"publication_mode":{"type":"string","enum":["PUBLISH","DRAFT"]},"backdated_time":{"type":"number"},"backdated_time_granularity":{"type":"string","enum":["year","month","day","hour","minute"]},"place":{"type":"string","minLength":1,"maxLength":256},"tags":{"maxItems":50,"type":"array","items":{"type":"string","minLength":1,"maxLength":256}},"feed_targeting":{"type":"object","properties":{"age_min":{"type":"integer","minimum":13,"maximum":65},"age_max":{"type":"integer","minimum":13,"maximum":65},"college_years":{"maxItems":100,"type":"array","items":{"type":"integer","minimum":1900,"maximum":2200}},"education_statuses":{"maxItems":3,"type":"array","items":{"anyOf":[{"type":"number","const":1},{"type":"number","const":2},{"type":"number","const":3}]}},"genders":{"maxItems":2,"type":"array","items":{"anyOf":[{"type":"number","const":1},{"type":"number","const":2}]}},"geo_locations":{"type":"object","properties":{"countries":{"minItems":1,"maxItems":25,"type":"array","items":{"type":"string","pattern":"^[A-Z]{2}$"}},"regions":{"minItems":1,"maxItems":250,"type":"array","items":{"type":"object","properties":{"key":{"anyOf":[{"type":"string","minLength":1,"maxLength":256},{"type":"integer","minimum":0,"maximum":9007199254740991}]}},"required":["key"],"additionalProperties":false}},"cities":{"minItems":1,"maxItems":250,"type":"array","items":{"type":"object","properties":{"key":{"anyOf":[{"type":"string","minLength":1,"maxLength":256},{"type":"integer","minimum":0,"maximum":9007199254740991}]},"radius":{"type":"number","exclusiveMinimum":0,"maximum":1000},"distance_unit":{"type":"string","enum":["mile","kilometer"]}},"required":["key"],"additionalProperties":false}},"zips":{"minItems":1,"maxItems":250,"type":"array","items":{"type":"object","properties":{"key":{"anyOf":[{"type":"string","minLength":1,"maxLength":256},{"type":"integer","minimum":0,"maximum":9007199254740991}]}},"required":["key"],"additionalProperties":false}},"location_types":{"minItems":1,"maxItems":2,"type":"array","items":{"type":"string","enum":["home","recent"]}}},"additionalProperties":false},"interests":{"maxItems":250,"type":"array","items":{"anyOf":[{"type":"string","minLength":1,"maxLength":256},{"type":"integer","minimum":0,"maximum":9007199254740991}]}},"locales":{"maxItems":250,"type":"array","items":{"type":"integer","minimum":0,"maximum":9007199254740991}},"relationship_statuses":{"maxItems":4,"type":"array","items":{"anyOf":[{"type":"number","const":1},{"type":"number","const":2},{"type":"number","const":3},{"type":"number","const":4}]}}},"additionalProperties":false},"targeting":{"type":"object","properties":{"age_min":{"anyOf":[{"type":"number","const":13},{"type":"number","const":15},{"type":"number","const":18},{"type":"number","const":21},{"type":"number","const":25}]},"geo_locations":{"type":"object","properties":{"countries":{"minItems":1,"maxItems":25,"type":"array","items":{"type":"string","pattern":"^[A-Z]{2}$"}},"regions":{"minItems":1,"maxItems":250,"type":"array","items":{"type":"object","properties":{"key":{"anyOf":[{"type":"string","minLength":1,"maxLength":256},{"type":"integer","minimum":0,"maximum":9007199254740991}]}},"required":["key"],"additionalProperties":false}},"cities":{"minItems":1,"maxItems":250,"type":"array","items":{"type":"object","properties":{"key":{"anyOf":[{"type":"string","minLength":1,"maxLength":256},{"type":"integer","minimum":0,"maximum":9007199254740991}]},"radius":{"type":"number","exclusiveMinimum":0,"maximum":1000},"distance_unit":{"type":"string","enum":["mile","kilometer"]}},"required":["key"],"additionalProperties":false}},"zips":{"minItems":1,"maxItems":250,"type":"array","items":{"type":"object","properties":{"key":{"anyOf":[{"type":"string","minLength":1,"maxLength":256},{"type":"integer","minimum":0,"maximum":9007199254740991}]}},"required":["key"],"additionalProperties":false}},"location_types":{"minItems":1,"maxItems":2,"type":"array","items":{"type":"string","enum":["home","recent"]}}},"additionalProperties":false}},"additionalProperties":false},"child_attachments":{"minItems":2,"maxItems":10,"type":"array","items":{"type":"object","properties":{"link":{"type":"string","format":"uri"},"name":{"type":"string","maxLength":255},"description":{"type":"string","maxLength":1000},"picture":{"type":"string","format":"uri"}},"required":["link","picture"],"additionalProperties":false}},"multi_share_end_card":{"type":"boolean"},"multi_share_optimized":{"type":"boolean"},"unpublished_content_type":{"type":"string","enum":["SCHEDULED","SCHEDULED_RECURRING","DRAFT","PUBLISH_PENDING","ADS_POST","INLINE_CREATED","PUBLISHED","REVIEWABLE_BRANDED_CONTENT"]},"no_story":{"type":"boolean"},"crossposted_video_id":{"type":"string","minLength":1,"maxLength":256},"spherical":{"type":"boolean"},"media_options":{"maxItems":20,"type":"array","items":{"type":"object","properties":{"asset_id":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},"alt_text_custom":{"type":"string","minLength":1,"maxLength":1000}},"required":["asset_id"],"additionalProperties":false}}},"required":["post_type"],"additionalProperties":false}},"required":["platform","publish_options"],"additionalProperties":false},{"type":"object","properties":{"platform":{"type":"string","const":"threads"},"publish_options":{"type":"object","properties":{"post_type":{"type":"string","enum":["TEXT","IMAGE","VIDEO","CAROUSEL","REPOST"]},"reply_to_id":{"type":"string","minLength":1,"maxLength":256},"quote_post_id":{"type":"string","minLength":1,"maxLength":256},"repost_target_id":{"type":"string","minLength":1,"maxLength":256},"reply_control":{"type":"string","enum":["everyone","accounts_you_follow","mentioned_only","parent_post_author_only","followers_only"]},"enable_reply_approvals":{"type":"boolean"},"link_attachment":{"type":"string","format":"uri"},"poll_attachment":{"type":"object","properties":{"option_a":{"type":"string","minLength":1,"maxLength":25},"option_b":{"type":"string","minLength":1,"maxLength":25},"option_c":{"type":"string","minLength":1,"maxLength":25},"option_d":{"type":"string","minLength":1,"maxLength":25}},"required":["option_a","option_b"],"additionalProperties":false},"gif_attachment":{"type":"object","properties":{"gif_id":{"type":"string","minLength":1,"maxLength":256},"provider":{"type":"string","const":"GIPHY"}},"required":["gif_id","provider"],"additionalProperties":false},"text_attachment":{"type":"object","properties":{"plaintext":{"type":"string","minLength":1,"maxLength":10000},"link_attachment_url":{"type":"string","format":"uri"},"text_with_styling_info":{"maxItems":100,"type":"array","items":{"type":"object","properties":{"offset":{"type":"integer","minimum":0,"maximum":9007199254740991},"length":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},"styling_info":{"minItems":1,"type":"array","items":{"type":"string","enum":["bold","italic","highlight","underline","strikethrough"]}}},"required":["offset","length","styling_info"],"additionalProperties":false}}},"required":["plaintext"],"additionalProperties":false},"topic_tag":{"type":"string","minLength":1,"maxLength":50},"text_entities":{"maxItems":10,"type":"array","items":{"type":"object","properties":{"entity_type":{"type":"string","enum":["SPOILER","spoiler"]},"offset":{"type":"integer","minimum":0,"maximum":9007199254740991},"length":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991}},"required":["entity_type","offset","length"],"additionalProperties":false}},"is_spoiler_media":{"type":"boolean"},"is_ghost_post":{"type":"boolean"},"location_id":{"type":"string","minLength":1,"maxLength":256},"allowlisted_country_codes":{"minItems":1,"maxItems":249,"type":"array","items":{"type":"string","pattern":"^[A-Z]{2}$"}},"crossreshare_to_ig":{"type":"boolean"},"crossreshare_to_ig_dark_mode":{"type":"boolean"},"auto_publish_text":{"type":"boolean"},"media_options":{"maxItems":20,"type":"array","items":{"type":"object","properties":{"asset_id":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},"alt_text":{"type":"string","minLength":1,"maxLength":1000},"is_spoiler_media":{"type":"boolean"}},"required":["asset_id"],"additionalProperties":false}}},"required":["post_type"],"additionalProperties":false}},"required":["platform","publish_options"],"additionalProperties":false},{"type":"object","properties":{"platform":{"type":"string","const":"youtube"},"publish_options":{"type":"object","properties":{"post_type":{"type":"string","const":"VIDEO"},"title":{"type":"string","minLength":1,"maxLength":100},"description":{"type":"string","maxLength":5000},"tags":{"maxItems":100,"type":"array","items":{"type":"string","minLength":1,"maxLength":500}},"category_id":{"anyOf":[{"type":"string","minLength":0,"maxLength":0},{"type":"string","pattern":"^\\d+$"}]},"default_language":{"type":"string","minLength":2,"maxLength":35},"localizations":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{"type":"object","properties":{"title":{"type":"string","minLength":1,"maxLength":100},"description":{"type":"string","maxLength":5000}},"required":["title","description"],"additionalProperties":false}},"privacy_status":{"type":"string","enum":["private","unlisted","public"]},"cancellation_mode":{"type":"string","enum":["DELETE","UNSCHEDULE_KEEP_PRIVATE"]},"license":{"type":"string","enum":["youtube","creativeCommon"]},"embeddable":{"type":"boolean"},"public_stats_viewable":{"type":"boolean"},"self_declared_made_for_kids":{"type":"boolean"},"contains_synthetic_media":{"type":"boolean"},"has_paid_product_placement":{"type":"boolean"},"recording_date":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},"notify_subscribers":{"type":"boolean"},"thumbnail_asset_id":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},"surface_expectation":{"type":"string","const":"SHORT"},"brand_partner":{"type":"object","properties":{"channel_id":{"type":"string","pattern":"^UC[A-Za-z0-9_-]+$"},"channel_handle":{"type":"string","pattern":"^@[A-Za-z0-9._-]+$"}},"additionalProperties":false}},"required":["post_type","title","privacy_status","cancellation_mode"],"additionalProperties":false}},"required":["platform","publish_options"],"additionalProperties":false}]},"scheduled_at":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},"display_timezone":{"default":"UTC","type":"string","minLength":1,"maxLength":80},"local_scheduled_at":{"type":"string","pattern":"^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}(?::\\d{2}(?:\\.\\d{1,6})?)?$"},"schedule_dst_disambiguation":{"type":"string","enum":["exact","earlier","later"]},"expires_at":{"anyOf":[{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},{"type":"null"}]},"source_ref":{"anyOf":[{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{}},{"type":"null"}]},"automatic_retry_enabled":{"default":true,"type":"boolean"},"idempotency_key":{"type":"string","minLength":8,"maxLength":160}},"required":["workspace_id","social_account_id","provider_payload","scheduled_at","idempotency_key"],"additionalProperties":false},"studio-api-scheduled-posts-create-response":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"post":{"type":"object","properties":{"id":{"type":"string","pattern":"^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$"},"workspace_id":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"social_account_id":{"anyOf":[{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},{"type":"null"}]},"platform":{"type":"string","enum":["instagram","threads","facebook","youtube","x"]},"destination":{"type":"object","properties":{"social_account_id":{"anyOf":[{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},{"type":"null"}]},"platform":{"type":"string","enum":["instagram","threads","facebook","youtube","x"]},"platform_user_id":{"anyOf":[{"type":"string"},{"type":"null"}]},"account_label":{"anyOf":[{"type":"string"},{"type":"null"}]}},"required":["social_account_id","platform","platform_user_id","account_label"]},"caption":{"anyOf":[{"type":"string"},{"type":"null"}]},"hashtags":{"type":"array","items":{"type":"string"}},"media":{"type":"array","items":{"type":"object","properties":{"kind":{"type":"string","enum":["image","video"]},"url":{"type":"string","format":"uri"},"cover_url":{"anyOf":[{"type":"string","format":"uri"},{"type":"null"}]},"cover_asset_id":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"null"}]},"asset_id":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"null"}]},"mime_type":{"anyOf":[{"type":"string","minLength":1,"maxLength":160},{"type":"null"}]},"preview_url":{"description":"Temporary authorized read URL; keep url as persisted Scheduled Post media identity.","anyOf":[{"type":"string","format":"uri"},{"type":"null"}]},"cover_preview_url":{"description":"Temporary authorized cover read URL; keep cover_url as persisted media identity.","anyOf":[{"type":"string","format":"uri"},{"type":"null"}]},"preview_expires_at":{"anyOf":[{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z))$"},{"type":"null"}]}},"required":["kind","url"]}},"link_url":{"anyOf":[{"type":"string","format":"uri"},{"type":"null"}]},"publish_options":{"type":"object","properties":{"post_type":{"type":"string","enum":["TEXT","LINK","IMAGE","MULTI_IMAGE","VIDEO","CAROUSEL","REELS","STORY_IMAGE","STORY_VIDEO","REPOST","SHORT"]},"location_id":{"type":"string","minLength":1},"share_to_feed":{"type":"boolean"},"collaborators":{"maxItems":3,"type":"array","items":{"type":"string","minLength":1}},"first_comment":{"type":"string","minLength":1,"maxLength":2200},"topic_tag":{"type":"string","minLength":1},"thumb_offset_ms":{"type":"integer","minimum":0,"maximum":9007199254740991},"title":{"type":"string","maxLength":255},"youtube_privacy_status":{"type":"string","enum":["private","unlisted","public"]},"youtube_category_id":{"type":"string","pattern":"^\\d+$"},"youtube_contains_synthetic_media":{"type":"boolean"},"description":{"type":"string","maxLength":5000},"category_id":{"type":"string","pattern":"^\\d+$"},"privacy_status":{"type":"string","enum":["private","unlisted","public"]},"cancellation_mode":{"type":"string","enum":["DELETE","UNSCHEDULE_KEEP_PRIVATE"]},"tags":{"type":"array","items":{"type":"string"}},"default_language":{"type":"string"},"localizations":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{}},"license":{"type":"string","enum":["youtube","creativeCommon"]},"embeddable":{"type":"boolean"},"public_stats_viewable":{"type":"boolean"},"self_declared_made_for_kids":{"type":"boolean"},"contains_synthetic_media":{"type":"boolean"},"has_paid_product_placement":{"type":"boolean"},"recording_date":{"type":"string"},"notify_subscribers":{"type":"boolean"},"thumbnail_asset_id":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},"surface_expectation":{"type":"string","const":"SHORT"},"brand_partner":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{}},"cover_asset_id":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},"audio_name":{"type":"string"},"trial_params":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{}},"is_ai_generated":{"type":"boolean"},"branded_content_sponsor_ids":{"type":"array","items":{"type":"string"}},"is_paid_partnership":{"type":"boolean"},"media_options":{"type":"array","items":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{}}},"reply_to_id":{"type":"string"},"quote_post_id":{"type":"string"},"repost_target_id":{"type":"string"},"reply_control":{"type":"string"},"enable_reply_approvals":{"type":"boolean"},"link_attachment":{"type":"string","format":"uri"},"poll_attachment":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{}},"gif_attachment":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{}},"text_attachment":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{}},"text_entities":{"type":"array","items":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{}}},"is_spoiler_media":{"type":"boolean"},"is_ghost_post":{"type":"boolean"},"allowlisted_country_codes":{"type":"array","items":{"type":"string"}},"crossreshare_to_ig":{"type":"boolean"},"crossreshare_to_ig_dark_mode":{"type":"boolean"},"auto_publish_text":{"type":"boolean"},"publication_mode":{"type":"string","enum":["PUBLISH","DRAFT"]},"backdated_time":{"type":"number"},"backdated_time_granularity":{"type":"string","enum":["year","month","day","hour","minute"]},"place":{"type":"string"},"feed_targeting":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{}},"targeting":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{}},"child_attachments":{"type":"array","items":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{}}},"multi_share_end_card":{"type":"boolean"},"multi_share_optimized":{"type":"boolean"},"unpublished_content_type":{"type":"string"},"no_story":{"type":"boolean"},"crossposted_video_id":{"type":"string"},"spherical":{"type":"boolean"}}},"scheduled_at":{"type":"string"},"display_timezone":{"type":"string","minLength":1,"maxLength":80},"local_scheduled_at":{"anyOf":[{"type":"string","pattern":"^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}(?::\\d{2}(?:\\.\\d{1,6})?)?$"},{"type":"null"}]},"schedule_timezone":{"anyOf":[{"type":"string","minLength":1,"maxLength":80},{"type":"null"}]},"schedule_dst_disambiguation":{"anyOf":[{"type":"string","enum":["exact","earlier","later"]},{"type":"null"}]},"schedule_intent_state":{"type":"string","enum":["verified","legacy_unverified"]},"expires_at":{"anyOf":[{"type":"string"},{"type":"null"}]},"status":{"type":"string","enum":["scheduled","publishing","published","failed","expired","needs_reschedule","cancelled","deleted"]},"version":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},"automatic_retry_enabled":{"type":"boolean"},"delete_requested_at":{"anyOf":[{"type":"string"},{"type":"null"}]},"published_at":{"anyOf":[{"type":"string"},{"type":"null"}]},"deleted_at":{"anyOf":[{"type":"string"},{"type":"null"}]},"provider_post_id":{"anyOf":[{"type":"string"},{"type":"null"}]},"permalink":{"anyOf":[{"type":"string","format":"uri"},{"type":"null"}]},"created_at":{"type":"string"},"updated_at":{"type":"string"},"project_id":{"anyOf":[{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},{"type":"null"}]},"batch_id":{"anyOf":[{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},{"type":"null"}]},"source_ref":{"anyOf":[{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{}},{"type":"null"}]}},"required":["id","workspace_id","social_account_id","platform","destination","caption","hashtags","media","publish_options","scheduled_at","display_timezone","expires_at","status","version","automatic_retry_enabled","delete_requested_at","published_at","deleted_at","provider_post_id","permalink","created_at","updated_at","project_id","batch_id","source_ref"]},"deduped":{"type":"boolean"}},"required":["post","deduped"]},"studio-api-scheduled-posts-create-image-url-request":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"workspace_id":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"project_id":{"anyOf":[{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},{"type":"null"}]},"social_account_id":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"caption":{"default":null,"anyOf":[{"type":"string","maxLength":5000},{"type":"null"}]},"hashtags":{"default":[],"maxItems":100,"type":"array","items":{"type":"string","maxLength":100}},"media":{"default":[],"maxItems":0,"type":"array","items":{"type":"object","properties":{"kind":{"type":"string","enum":["image","video"]},"url":{"type":"string","format":"uri"},"cover_url":{"anyOf":[{"type":"string","format":"uri"},{"type":"null"}]},"cover_asset_id":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"null"}]},"asset_id":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"null"}]},"mime_type":{"anyOf":[{"type":"string","minLength":1,"maxLength":160},{"type":"null"}]}},"required":["kind","url"],"additionalProperties":false}},"link_url":{"anyOf":[{"type":"string","format":"uri"},{"type":"null"}]},"provider_payload":{"oneOf":[{"type":"object","properties":{"platform":{"type":"string","const":"x"},"publish_options":{"type":"object","properties":{"post_type":{"type":"string","const":"TEXT"}},"required":["post_type"],"additionalProperties":false}},"required":["platform","publish_options"],"additionalProperties":false},{"type":"object","properties":{"platform":{"type":"string","const":"instagram"},"publish_options":{"type":"object","properties":{"post_type":{"type":"string","enum":["IMAGE","VIDEO","CAROUSEL","REELS","STORY_IMAGE","STORY_VIDEO"]},"location_id":{"type":"string","minLength":1,"maxLength":256},"share_to_feed":{"type":"boolean"},"collaborators":{"maxItems":3,"type":"array","items":{"type":"string","minLength":1,"maxLength":30}},"first_comment":{"type":"string","minLength":1,"maxLength":2200},"cover_asset_id":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},"thumb_offset_ms":{"type":"integer","minimum":0,"maximum":9007199254740991},"audio_name":{"type":"string","minLength":1,"maxLength":100},"trial_params":{"type":"object","properties":{"graduation_strategy":{"type":"string","enum":["MANUAL","SS_PERFORMANCE"]}},"required":["graduation_strategy"],"additionalProperties":false},"is_ai_generated":{"type":"boolean"},"branded_content_sponsor_ids":{"maxItems":2,"type":"array","items":{"type":"string","minLength":1,"maxLength":256}},"is_paid_partnership":{"type":"boolean"},"media_options":{"maxItems":10,"type":"array","items":{"type":"object","properties":{"asset_id":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},"alt_text":{"type":"string","minLength":1,"maxLength":1000},"user_tags":{"maxItems":20,"type":"array","items":{"type":"object","properties":{"username":{"type":"string","minLength":1,"maxLength":30},"x":{"type":"number","minimum":0,"maximum":1},"y":{"type":"number","minimum":0,"maximum":1}},"required":["username"],"additionalProperties":false}},"product_tags":{"maxItems":5,"type":"array","items":{"type":"object","properties":{"product_id":{"type":"string","minLength":1,"maxLength":256},"x":{"type":"number","minimum":0,"maximum":1},"y":{"type":"number","minimum":0,"maximum":1}},"required":["product_id"],"additionalProperties":false}},"thumb_offset_ms":{"type":"integer","minimum":0,"maximum":9007199254740991}},"required":["asset_id"],"additionalProperties":false}}},"required":["post_type"],"additionalProperties":false}},"required":["platform","publish_options"],"additionalProperties":false},{"type":"object","properties":{"platform":{"type":"string","const":"facebook"},"publish_options":{"type":"object","properties":{"post_type":{"type":"string","enum":["TEXT","LINK","IMAGE","MULTI_IMAGE","VIDEO","REELS","STORY_IMAGE","STORY_VIDEO"]},"title":{"type":"string","maxLength":255},"description":{"type":"string","maxLength":5000},"publication_mode":{"type":"string","enum":["PUBLISH","DRAFT"]},"backdated_time":{"type":"number"},"backdated_time_granularity":{"type":"string","enum":["year","month","day","hour","minute"]},"place":{"type":"string","minLength":1,"maxLength":256},"tags":{"maxItems":50,"type":"array","items":{"type":"string","minLength":1,"maxLength":256}},"feed_targeting":{"type":"object","properties":{"age_min":{"type":"integer","minimum":13,"maximum":65},"age_max":{"type":"integer","minimum":13,"maximum":65},"college_years":{"maxItems":100,"type":"array","items":{"type":"integer","minimum":1900,"maximum":2200}},"education_statuses":{"maxItems":3,"type":"array","items":{"anyOf":[{"type":"number","const":1},{"type":"number","const":2},{"type":"number","const":3}]}},"genders":{"maxItems":2,"type":"array","items":{"anyOf":[{"type":"number","const":1},{"type":"number","const":2}]}},"geo_locations":{"type":"object","properties":{"countries":{"minItems":1,"maxItems":25,"type":"array","items":{"type":"string","pattern":"^[A-Z]{2}$"}},"regions":{"minItems":1,"maxItems":250,"type":"array","items":{"type":"object","properties":{"key":{"anyOf":[{"type":"string","minLength":1,"maxLength":256},{"type":"integer","minimum":0,"maximum":9007199254740991}]}},"required":["key"],"additionalProperties":false}},"cities":{"minItems":1,"maxItems":250,"type":"array","items":{"type":"object","properties":{"key":{"anyOf":[{"type":"string","minLength":1,"maxLength":256},{"type":"integer","minimum":0,"maximum":9007199254740991}]},"radius":{"type":"number","exclusiveMinimum":0,"maximum":1000},"distance_unit":{"type":"string","enum":["mile","kilometer"]}},"required":["key"],"additionalProperties":false}},"zips":{"minItems":1,"maxItems":250,"type":"array","items":{"type":"object","properties":{"key":{"anyOf":[{"type":"string","minLength":1,"maxLength":256},{"type":"integer","minimum":0,"maximum":9007199254740991}]}},"required":["key"],"additionalProperties":false}},"location_types":{"minItems":1,"maxItems":2,"type":"array","items":{"type":"string","enum":["home","recent"]}}},"additionalProperties":false},"interests":{"maxItems":250,"type":"array","items":{"anyOf":[{"type":"string","minLength":1,"maxLength":256},{"type":"integer","minimum":0,"maximum":9007199254740991}]}},"locales":{"maxItems":250,"type":"array","items":{"type":"integer","minimum":0,"maximum":9007199254740991}},"relationship_statuses":{"maxItems":4,"type":"array","items":{"anyOf":[{"type":"number","const":1},{"type":"number","const":2},{"type":"number","const":3},{"type":"number","const":4}]}}},"additionalProperties":false},"targeting":{"type":"object","properties":{"age_min":{"anyOf":[{"type":"number","const":13},{"type":"number","const":15},{"type":"number","const":18},{"type":"number","const":21},{"type":"number","const":25}]},"geo_locations":{"type":"object","properties":{"countries":{"minItems":1,"maxItems":25,"type":"array","items":{"type":"string","pattern":"^[A-Z]{2}$"}},"regions":{"minItems":1,"maxItems":250,"type":"array","items":{"type":"object","properties":{"key":{"anyOf":[{"type":"string","minLength":1,"maxLength":256},{"type":"integer","minimum":0,"maximum":9007199254740991}]}},"required":["key"],"additionalProperties":false}},"cities":{"minItems":1,"maxItems":250,"type":"array","items":{"type":"object","properties":{"key":{"anyOf":[{"type":"string","minLength":1,"maxLength":256},{"type":"integer","minimum":0,"maximum":9007199254740991}]},"radius":{"type":"number","exclusiveMinimum":0,"maximum":1000},"distance_unit":{"type":"string","enum":["mile","kilometer"]}},"required":["key"],"additionalProperties":false}},"zips":{"minItems":1,"maxItems":250,"type":"array","items":{"type":"object","properties":{"key":{"anyOf":[{"type":"string","minLength":1,"maxLength":256},{"type":"integer","minimum":0,"maximum":9007199254740991}]}},"required":["key"],"additionalProperties":false}},"location_types":{"minItems":1,"maxItems":2,"type":"array","items":{"type":"string","enum":["home","recent"]}}},"additionalProperties":false}},"additionalProperties":false},"child_attachments":{"minItems":2,"maxItems":10,"type":"array","items":{"type":"object","properties":{"link":{"type":"string","format":"uri"},"name":{"type":"string","maxLength":255},"description":{"type":"string","maxLength":1000},"picture":{"type":"string","format":"uri"}},"required":["link","picture"],"additionalProperties":false}},"multi_share_end_card":{"type":"boolean"},"multi_share_optimized":{"type":"boolean"},"unpublished_content_type":{"type":"string","enum":["SCHEDULED","SCHEDULED_RECURRING","DRAFT","PUBLISH_PENDING","ADS_POST","INLINE_CREATED","PUBLISHED","REVIEWABLE_BRANDED_CONTENT"]},"no_story":{"type":"boolean"},"crossposted_video_id":{"type":"string","minLength":1,"maxLength":256},"spherical":{"type":"boolean"},"media_options":{"maxItems":20,"type":"array","items":{"type":"object","properties":{"asset_id":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},"alt_text_custom":{"type":"string","minLength":1,"maxLength":1000}},"required":["asset_id"],"additionalProperties":false}}},"required":["post_type"],"additionalProperties":false}},"required":["platform","publish_options"],"additionalProperties":false},{"type":"object","properties":{"platform":{"type":"string","const":"threads"},"publish_options":{"type":"object","properties":{"post_type":{"type":"string","enum":["TEXT","IMAGE","VIDEO","CAROUSEL","REPOST"]},"reply_to_id":{"type":"string","minLength":1,"maxLength":256},"quote_post_id":{"type":"string","minLength":1,"maxLength":256},"repost_target_id":{"type":"string","minLength":1,"maxLength":256},"reply_control":{"type":"string","enum":["everyone","accounts_you_follow","mentioned_only","parent_post_author_only","followers_only"]},"enable_reply_approvals":{"type":"boolean"},"link_attachment":{"type":"string","format":"uri"},"poll_attachment":{"type":"object","properties":{"option_a":{"type":"string","minLength":1,"maxLength":25},"option_b":{"type":"string","minLength":1,"maxLength":25},"option_c":{"type":"string","minLength":1,"maxLength":25},"option_d":{"type":"string","minLength":1,"maxLength":25}},"required":["option_a","option_b"],"additionalProperties":false},"gif_attachment":{"type":"object","properties":{"gif_id":{"type":"string","minLength":1,"maxLength":256},"provider":{"type":"string","const":"GIPHY"}},"required":["gif_id","provider"],"additionalProperties":false},"text_attachment":{"type":"object","properties":{"plaintext":{"type":"string","minLength":1,"maxLength":10000},"link_attachment_url":{"type":"string","format":"uri"},"text_with_styling_info":{"maxItems":100,"type":"array","items":{"type":"object","properties":{"offset":{"type":"integer","minimum":0,"maximum":9007199254740991},"length":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},"styling_info":{"minItems":1,"type":"array","items":{"type":"string","enum":["bold","italic","highlight","underline","strikethrough"]}}},"required":["offset","length","styling_info"],"additionalProperties":false}}},"required":["plaintext"],"additionalProperties":false},"topic_tag":{"type":"string","minLength":1,"maxLength":50},"text_entities":{"maxItems":10,"type":"array","items":{"type":"object","properties":{"entity_type":{"type":"string","enum":["SPOILER","spoiler"]},"offset":{"type":"integer","minimum":0,"maximum":9007199254740991},"length":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991}},"required":["entity_type","offset","length"],"additionalProperties":false}},"is_spoiler_media":{"type":"boolean"},"is_ghost_post":{"type":"boolean"},"location_id":{"type":"string","minLength":1,"maxLength":256},"allowlisted_country_codes":{"minItems":1,"maxItems":249,"type":"array","items":{"type":"string","pattern":"^[A-Z]{2}$"}},"crossreshare_to_ig":{"type":"boolean"},"crossreshare_to_ig_dark_mode":{"type":"boolean"},"auto_publish_text":{"type":"boolean"},"media_options":{"maxItems":20,"type":"array","items":{"type":"object","properties":{"asset_id":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},"alt_text":{"type":"string","minLength":1,"maxLength":1000},"is_spoiler_media":{"type":"boolean"}},"required":["asset_id"],"additionalProperties":false}}},"required":["post_type"],"additionalProperties":false}},"required":["platform","publish_options"],"additionalProperties":false},{"type":"object","properties":{"platform":{"type":"string","const":"youtube"},"publish_options":{"type":"object","properties":{"post_type":{"type":"string","const":"VIDEO"},"title":{"type":"string","minLength":1,"maxLength":100},"description":{"type":"string","maxLength":5000},"tags":{"maxItems":100,"type":"array","items":{"type":"string","minLength":1,"maxLength":500}},"category_id":{"anyOf":[{"type":"string","minLength":0,"maxLength":0},{"type":"string","pattern":"^\\d+$"}]},"default_language":{"type":"string","minLength":2,"maxLength":35},"localizations":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{"type":"object","properties":{"title":{"type":"string","minLength":1,"maxLength":100},"description":{"type":"string","maxLength":5000}},"required":["title","description"],"additionalProperties":false}},"privacy_status":{"type":"string","enum":["private","unlisted","public"]},"cancellation_mode":{"type":"string","enum":["DELETE","UNSCHEDULE_KEEP_PRIVATE"]},"license":{"type":"string","enum":["youtube","creativeCommon"]},"embeddable":{"type":"boolean"},"public_stats_viewable":{"type":"boolean"},"self_declared_made_for_kids":{"type":"boolean"},"contains_synthetic_media":{"type":"boolean"},"has_paid_product_placement":{"type":"boolean"},"recording_date":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},"notify_subscribers":{"type":"boolean"},"thumbnail_asset_id":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},"surface_expectation":{"type":"string","const":"SHORT"},"brand_partner":{"type":"object","properties":{"channel_id":{"type":"string","pattern":"^UC[A-Za-z0-9_-]+$"},"channel_handle":{"type":"string","pattern":"^@[A-Za-z0-9._-]+$"}},"additionalProperties":false}},"required":["post_type","title","privacy_status","cancellation_mode"],"additionalProperties":false}},"required":["platform","publish_options"],"additionalProperties":false}]},"scheduled_at":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},"display_timezone":{"default":"UTC","type":"string","minLength":1,"maxLength":80},"local_scheduled_at":{"type":"string","pattern":"^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}(?::\\d{2}(?:\\.\\d{1,6})?)?$"},"schedule_dst_disambiguation":{"type":"string","enum":["exact","earlier","later"]},"expires_at":{"anyOf":[{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},{"type":"null"}]},"source_ref":{"anyOf":[{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{}},{"type":"null"}]},"automatic_retry_enabled":{"default":true,"type":"boolean"},"idempotency_key":{"type":"string","minLength":8,"maxLength":160},"source_url":{"type":"string","maxLength":2048,"format":"uri"},"wait_seconds":{"default":35,"type":"integer","minimum":0,"maximum":35}},"required":["workspace_id","social_account_id","provider_payload","scheduled_at","idempotency_key","source_url"],"additionalProperties":false},"studio-api-scheduled-posts-create-image-url-response":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"post":{"type":"object","properties":{"id":{"type":"string","pattern":"^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$"},"workspace_id":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"social_account_id":{"anyOf":[{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},{"type":"null"}]},"platform":{"type":"string","enum":["instagram","threads","facebook","youtube","x"]},"destination":{"type":"object","properties":{"social_account_id":{"anyOf":[{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},{"type":"null"}]},"platform":{"type":"string","enum":["instagram","threads","facebook","youtube","x"]},"platform_user_id":{"anyOf":[{"type":"string"},{"type":"null"}]},"account_label":{"anyOf":[{"type":"string"},{"type":"null"}]}},"required":["social_account_id","platform","platform_user_id","account_label"]},"caption":{"anyOf":[{"type":"string"},{"type":"null"}]},"hashtags":{"type":"array","items":{"type":"string"}},"media":{"type":"array","items":{"type":"object","properties":{"kind":{"type":"string","enum":["image","video"]},"url":{"type":"string","format":"uri"},"cover_url":{"anyOf":[{"type":"string","format":"uri"},{"type":"null"}]},"cover_asset_id":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"null"}]},"asset_id":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"null"}]},"mime_type":{"anyOf":[{"type":"string","minLength":1,"maxLength":160},{"type":"null"}]},"preview_url":{"description":"Temporary authorized read URL; keep url as persisted Scheduled Post media identity.","anyOf":[{"type":"string","format":"uri"},{"type":"null"}]},"cover_preview_url":{"description":"Temporary authorized cover read URL; keep cover_url as persisted media identity.","anyOf":[{"type":"string","format":"uri"},{"type":"null"}]},"preview_expires_at":{"anyOf":[{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z))$"},{"type":"null"}]}},"required":["kind","url"]}},"link_url":{"anyOf":[{"type":"string","format":"uri"},{"type":"null"}]},"publish_options":{"type":"object","properties":{"post_type":{"type":"string","enum":["TEXT","LINK","IMAGE","MULTI_IMAGE","VIDEO","CAROUSEL","REELS","STORY_IMAGE","STORY_VIDEO","REPOST","SHORT"]},"location_id":{"type":"string","minLength":1},"share_to_feed":{"type":"boolean"},"collaborators":{"maxItems":3,"type":"array","items":{"type":"string","minLength":1}},"first_comment":{"type":"string","minLength":1,"maxLength":2200},"topic_tag":{"type":"string","minLength":1},"thumb_offset_ms":{"type":"integer","minimum":0,"maximum":9007199254740991},"title":{"type":"string","maxLength":255},"youtube_privacy_status":{"type":"string","enum":["private","unlisted","public"]},"youtube_category_id":{"type":"string","pattern":"^\\d+$"},"youtube_contains_synthetic_media":{"type":"boolean"},"description":{"type":"string","maxLength":5000},"category_id":{"type":"string","pattern":"^\\d+$"},"privacy_status":{"type":"string","enum":["private","unlisted","public"]},"cancellation_mode":{"type":"string","enum":["DELETE","UNSCHEDULE_KEEP_PRIVATE"]},"tags":{"type":"array","items":{"type":"string"}},"default_language":{"type":"string"},"localizations":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{}},"license":{"type":"string","enum":["youtube","creativeCommon"]},"embeddable":{"type":"boolean"},"public_stats_viewable":{"type":"boolean"},"self_declared_made_for_kids":{"type":"boolean"},"contains_synthetic_media":{"type":"boolean"},"has_paid_product_placement":{"type":"boolean"},"recording_date":{"type":"string"},"notify_subscribers":{"type":"boolean"},"thumbnail_asset_id":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},"surface_expectation":{"type":"string","const":"SHORT"},"brand_partner":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{}},"cover_asset_id":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},"audio_name":{"type":"string"},"trial_params":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{}},"is_ai_generated":{"type":"boolean"},"branded_content_sponsor_ids":{"type":"array","items":{"type":"string"}},"is_paid_partnership":{"type":"boolean"},"media_options":{"type":"array","items":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{}}},"reply_to_id":{"type":"string"},"quote_post_id":{"type":"string"},"repost_target_id":{"type":"string"},"reply_control":{"type":"string"},"enable_reply_approvals":{"type":"boolean"},"link_attachment":{"type":"string","format":"uri"},"poll_attachment":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{}},"gif_attachment":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{}},"text_attachment":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{}},"text_entities":{"type":"array","items":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{}}},"is_spoiler_media":{"type":"boolean"},"is_ghost_post":{"type":"boolean"},"allowlisted_country_codes":{"type":"array","items":{"type":"string"}},"crossreshare_to_ig":{"type":"boolean"},"crossreshare_to_ig_dark_mode":{"type":"boolean"},"auto_publish_text":{"type":"boolean"},"publication_mode":{"type":"string","enum":["PUBLISH","DRAFT"]},"backdated_time":{"type":"number"},"backdated_time_granularity":{"type":"string","enum":["year","month","day","hour","minute"]},"place":{"type":"string"},"feed_targeting":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{}},"targeting":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{}},"child_attachments":{"type":"array","items":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{}}},"multi_share_end_card":{"type":"boolean"},"multi_share_optimized":{"type":"boolean"},"unpublished_content_type":{"type":"string"},"no_story":{"type":"boolean"},"crossposted_video_id":{"type":"string"},"spherical":{"type":"boolean"}}},"scheduled_at":{"type":"string"},"display_timezone":{"type":"string","minLength":1,"maxLength":80},"local_scheduled_at":{"anyOf":[{"type":"string","pattern":"^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}(?::\\d{2}(?:\\.\\d{1,6})?)?$"},{"type":"null"}]},"schedule_timezone":{"anyOf":[{"type":"string","minLength":1,"maxLength":80},{"type":"null"}]},"schedule_dst_disambiguation":{"anyOf":[{"type":"string","enum":["exact","earlier","later"]},{"type":"null"}]},"schedule_intent_state":{"type":"string","enum":["verified","legacy_unverified"]},"expires_at":{"anyOf":[{"type":"string"},{"type":"null"}]},"status":{"type":"string","enum":["scheduled","publishing","published","failed","expired","needs_reschedule","cancelled","deleted"]},"version":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},"automatic_retry_enabled":{"type":"boolean"},"delete_requested_at":{"anyOf":[{"type":"string"},{"type":"null"}]},"published_at":{"anyOf":[{"type":"string"},{"type":"null"}]},"deleted_at":{"anyOf":[{"type":"string"},{"type":"null"}]},"provider_post_id":{"anyOf":[{"type":"string"},{"type":"null"}]},"permalink":{"anyOf":[{"type":"string","format":"uri"},{"type":"null"}]},"created_at":{"type":"string"},"updated_at":{"type":"string"},"project_id":{"anyOf":[{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},{"type":"null"}]},"batch_id":{"anyOf":[{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},{"type":"null"}]},"source_ref":{"anyOf":[{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{}},{"type":"null"}]}},"required":["id","workspace_id","social_account_id","platform","destination","caption","hashtags","media","publish_options","scheduled_at","display_timezone","expires_at","status","version","automatic_retry_enabled","delete_requested_at","published_at","deleted_at","provider_post_id","permalink","created_at","updated_at","project_id","batch_id","source_ref"]},"deduped":{"type":"boolean"},"import_id":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"media_preparation":{"type":"string","enum":["pending","ready","failed"]},"completion":{"type":"string","enum":["pending","terminal"]}},"required":["post","deduped","import_id","media_preparation","completion"]},"studio-api-scheduled-posts-delete-request":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"id":{"type":"string","pattern":"^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$"},"expected_version":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991}},"required":["id","expected_version"],"additionalProperties":false},"studio-api-scheduled-posts-delete-response":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"post":{"type":"object","properties":{"id":{"type":"string","pattern":"^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$"},"workspace_id":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"social_account_id":{"anyOf":[{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},{"type":"null"}]},"platform":{"type":"string","enum":["instagram","threads","facebook","youtube","x"]},"destination":{"type":"object","properties":{"social_account_id":{"anyOf":[{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},{"type":"null"}]},"platform":{"type":"string","enum":["instagram","threads","facebook","youtube","x"]},"platform_user_id":{"anyOf":[{"type":"string"},{"type":"null"}]},"account_label":{"anyOf":[{"type":"string"},{"type":"null"}]}},"required":["social_account_id","platform","platform_user_id","account_label"]},"caption":{"anyOf":[{"type":"string"},{"type":"null"}]},"hashtags":{"type":"array","items":{"type":"string"}},"media":{"type":"array","items":{"type":"object","properties":{"kind":{"type":"string","enum":["image","video"]},"url":{"type":"string","format":"uri"},"cover_url":{"anyOf":[{"type":"string","format":"uri"},{"type":"null"}]},"cover_asset_id":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"null"}]},"asset_id":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"null"}]},"mime_type":{"anyOf":[{"type":"string","minLength":1,"maxLength":160},{"type":"null"}]},"preview_url":{"description":"Temporary authorized read URL; keep url as persisted Scheduled Post media identity.","anyOf":[{"type":"string","format":"uri"},{"type":"null"}]},"cover_preview_url":{"description":"Temporary authorized cover read URL; keep cover_url as persisted media identity.","anyOf":[{"type":"string","format":"uri"},{"type":"null"}]},"preview_expires_at":{"anyOf":[{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z))$"},{"type":"null"}]}},"required":["kind","url"]}},"link_url":{"anyOf":[{"type":"string","format":"uri"},{"type":"null"}]},"publish_options":{"type":"object","properties":{"post_type":{"type":"string","enum":["TEXT","LINK","IMAGE","MULTI_IMAGE","VIDEO","CAROUSEL","REELS","STORY_IMAGE","STORY_VIDEO","REPOST","SHORT"]},"location_id":{"type":"string","minLength":1},"share_to_feed":{"type":"boolean"},"collaborators":{"maxItems":3,"type":"array","items":{"type":"string","minLength":1}},"first_comment":{"type":"string","minLength":1,"maxLength":2200},"topic_tag":{"type":"string","minLength":1},"thumb_offset_ms":{"type":"integer","minimum":0,"maximum":9007199254740991},"title":{"type":"string","maxLength":255},"youtube_privacy_status":{"type":"string","enum":["private","unlisted","public"]},"youtube_category_id":{"type":"string","pattern":"^\\d+$"},"youtube_contains_synthetic_media":{"type":"boolean"},"description":{"type":"string","maxLength":5000},"category_id":{"type":"string","pattern":"^\\d+$"},"privacy_status":{"type":"string","enum":["private","unlisted","public"]},"cancellation_mode":{"type":"string","enum":["DELETE","UNSCHEDULE_KEEP_PRIVATE"]},"tags":{"type":"array","items":{"type":"string"}},"default_language":{"type":"string"},"localizations":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{}},"license":{"type":"string","enum":["youtube","creativeCommon"]},"embeddable":{"type":"boolean"},"public_stats_viewable":{"type":"boolean"},"self_declared_made_for_kids":{"type":"boolean"},"contains_synthetic_media":{"type":"boolean"},"has_paid_product_placement":{"type":"boolean"},"recording_date":{"type":"string"},"notify_subscribers":{"type":"boolean"},"thumbnail_asset_id":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},"surface_expectation":{"type":"string","const":"SHORT"},"brand_partner":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{}},"cover_asset_id":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},"audio_name":{"type":"string"},"trial_params":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{}},"is_ai_generated":{"type":"boolean"},"branded_content_sponsor_ids":{"type":"array","items":{"type":"string"}},"is_paid_partnership":{"type":"boolean"},"media_options":{"type":"array","items":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{}}},"reply_to_id":{"type":"string"},"quote_post_id":{"type":"string"},"repost_target_id":{"type":"string"},"reply_control":{"type":"string"},"enable_reply_approvals":{"type":"boolean"},"link_attachment":{"type":"string","format":"uri"},"poll_attachment":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{}},"gif_attachment":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{}},"text_attachment":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{}},"text_entities":{"type":"array","items":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{}}},"is_spoiler_media":{"type":"boolean"},"is_ghost_post":{"type":"boolean"},"allowlisted_country_codes":{"type":"array","items":{"type":"string"}},"crossreshare_to_ig":{"type":"boolean"},"crossreshare_to_ig_dark_mode":{"type":"boolean"},"auto_publish_text":{"type":"boolean"},"publication_mode":{"type":"string","enum":["PUBLISH","DRAFT"]},"backdated_time":{"type":"number"},"backdated_time_granularity":{"type":"string","enum":["year","month","day","hour","minute"]},"place":{"type":"string"},"feed_targeting":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{}},"targeting":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{}},"child_attachments":{"type":"array","items":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{}}},"multi_share_end_card":{"type":"boolean"},"multi_share_optimized":{"type":"boolean"},"unpublished_content_type":{"type":"string"},"no_story":{"type":"boolean"},"crossposted_video_id":{"type":"string"},"spherical":{"type":"boolean"}}},"scheduled_at":{"type":"string"},"display_timezone":{"type":"string","minLength":1,"maxLength":80},"local_scheduled_at":{"anyOf":[{"type":"string","pattern":"^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}(?::\\d{2}(?:\\.\\d{1,6})?)?$"},{"type":"null"}]},"schedule_timezone":{"anyOf":[{"type":"string","minLength":1,"maxLength":80},{"type":"null"}]},"schedule_dst_disambiguation":{"anyOf":[{"type":"string","enum":["exact","earlier","later"]},{"type":"null"}]},"schedule_intent_state":{"type":"string","enum":["verified","legacy_unverified"]},"expires_at":{"anyOf":[{"type":"string"},{"type":"null"}]},"status":{"type":"string","enum":["scheduled","publishing","published","failed","expired","needs_reschedule","cancelled","deleted"]},"version":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},"automatic_retry_enabled":{"type":"boolean"},"delete_requested_at":{"anyOf":[{"type":"string"},{"type":"null"}]},"published_at":{"anyOf":[{"type":"string"},{"type":"null"}]},"deleted_at":{"anyOf":[{"type":"string"},{"type":"null"}]},"provider_post_id":{"anyOf":[{"type":"string"},{"type":"null"}]},"permalink":{"anyOf":[{"type":"string","format":"uri"},{"type":"null"}]},"created_at":{"type":"string"},"updated_at":{"type":"string"},"project_id":{"anyOf":[{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},{"type":"null"}]},"batch_id":{"anyOf":[{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},{"type":"null"}]},"source_ref":{"anyOf":[{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{}},{"type":"null"}]}},"required":["id","workspace_id","social_account_id","platform","destination","caption","hashtags","media","publish_options","scheduled_at","display_timezone","expires_at","status","version","automatic_retry_enabled","delete_requested_at","published_at","deleted_at","provider_post_id","permalink","created_at","updated_at","project_id","batch_id","source_ref"]}},"required":["post"]},"studio-api-scheduled-posts-eligibility-request":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"workspace_id":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"include_quota":{"type":"boolean"},"targets":{"minItems":1,"maxItems":50,"type":"array","items":{"type":"object","properties":{"social_account_id":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"media":{"maxItems":20,"type":"array","items":{"type":"object","properties":{"kind":{"type":"string","enum":["image","video"]},"url":{"type":"string","format":"uri"},"cover_url":{"anyOf":[{"type":"string","format":"uri"},{"type":"null"}]},"cover_asset_id":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"null"}]},"asset_id":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"null"}]},"mime_type":{"anyOf":[{"type":"string","minLength":1,"maxLength":160},{"type":"null"}]}},"required":["kind","url"],"additionalProperties":false}},"link_url":{"anyOf":[{"type":"string","format":"uri"},{"type":"null"}]},"provider_payload":{"oneOf":[{"type":"object","properties":{"platform":{"type":"string","const":"x"},"publish_options":{"type":"object","properties":{"post_type":{"type":"string","const":"TEXT"}},"required":["post_type"],"additionalProperties":false}},"required":["platform","publish_options"],"additionalProperties":false},{"type":"object","properties":{"platform":{"type":"string","const":"instagram"},"publish_options":{"type":"object","properties":{"post_type":{"type":"string","enum":["IMAGE","VIDEO","CAROUSEL","REELS","STORY_IMAGE","STORY_VIDEO"]},"location_id":{"type":"string","minLength":1,"maxLength":256},"share_to_feed":{"type":"boolean"},"collaborators":{"maxItems":3,"type":"array","items":{"type":"string","minLength":1,"maxLength":30}},"first_comment":{"type":"string","minLength":1,"maxLength":2200},"cover_asset_id":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},"thumb_offset_ms":{"type":"integer","minimum":0,"maximum":9007199254740991},"audio_name":{"type":"string","minLength":1,"maxLength":100},"trial_params":{"type":"object","properties":{"graduation_strategy":{"type":"string","enum":["MANUAL","SS_PERFORMANCE"]}},"required":["graduation_strategy"],"additionalProperties":false},"is_ai_generated":{"type":"boolean"},"branded_content_sponsor_ids":{"maxItems":2,"type":"array","items":{"type":"string","minLength":1,"maxLength":256}},"is_paid_partnership":{"type":"boolean"},"media_options":{"maxItems":10,"type":"array","items":{"type":"object","properties":{"asset_id":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},"alt_text":{"type":"string","minLength":1,"maxLength":1000},"user_tags":{"maxItems":20,"type":"array","items":{"type":"object","properties":{"username":{"type":"string","minLength":1,"maxLength":30},"x":{"type":"number","minimum":0,"maximum":1},"y":{"type":"number","minimum":0,"maximum":1}},"required":["username"],"additionalProperties":false}},"product_tags":{"maxItems":5,"type":"array","items":{"type":"object","properties":{"product_id":{"type":"string","minLength":1,"maxLength":256},"x":{"type":"number","minimum":0,"maximum":1},"y":{"type":"number","minimum":0,"maximum":1}},"required":["product_id"],"additionalProperties":false}},"thumb_offset_ms":{"type":"integer","minimum":0,"maximum":9007199254740991}},"required":["asset_id"],"additionalProperties":false}}},"required":["post_type"],"additionalProperties":false}},"required":["platform","publish_options"],"additionalProperties":false},{"type":"object","properties":{"platform":{"type":"string","const":"facebook"},"publish_options":{"type":"object","properties":{"post_type":{"type":"string","enum":["TEXT","LINK","IMAGE","MULTI_IMAGE","VIDEO","REELS","STORY_IMAGE","STORY_VIDEO"]},"title":{"type":"string","maxLength":255},"description":{"type":"string","maxLength":5000},"publication_mode":{"type":"string","enum":["PUBLISH","DRAFT"]},"backdated_time":{"type":"number"},"backdated_time_granularity":{"type":"string","enum":["year","month","day","hour","minute"]},"place":{"type":"string","minLength":1,"maxLength":256},"tags":{"maxItems":50,"type":"array","items":{"type":"string","minLength":1,"maxLength":256}},"feed_targeting":{"type":"object","properties":{"age_min":{"type":"integer","minimum":13,"maximum":65},"age_max":{"type":"integer","minimum":13,"maximum":65},"college_years":{"maxItems":100,"type":"array","items":{"type":"integer","minimum":1900,"maximum":2200}},"education_statuses":{"maxItems":3,"type":"array","items":{"anyOf":[{"type":"number","const":1},{"type":"number","const":2},{"type":"number","const":3}]}},"genders":{"maxItems":2,"type":"array","items":{"anyOf":[{"type":"number","const":1},{"type":"number","const":2}]}},"geo_locations":{"type":"object","properties":{"countries":{"minItems":1,"maxItems":25,"type":"array","items":{"type":"string","pattern":"^[A-Z]{2}$"}},"regions":{"minItems":1,"maxItems":250,"type":"array","items":{"type":"object","properties":{"key":{"anyOf":[{"type":"string","minLength":1,"maxLength":256},{"type":"integer","minimum":0,"maximum":9007199254740991}]}},"required":["key"],"additionalProperties":false}},"cities":{"minItems":1,"maxItems":250,"type":"array","items":{"type":"object","properties":{"key":{"anyOf":[{"type":"string","minLength":1,"maxLength":256},{"type":"integer","minimum":0,"maximum":9007199254740991}]},"radius":{"type":"number","exclusiveMinimum":0,"maximum":1000},"distance_unit":{"type":"string","enum":["mile","kilometer"]}},"required":["key"],"additionalProperties":false}},"zips":{"minItems":1,"maxItems":250,"type":"array","items":{"type":"object","properties":{"key":{"anyOf":[{"type":"string","minLength":1,"maxLength":256},{"type":"integer","minimum":0,"maximum":9007199254740991}]}},"required":["key"],"additionalProperties":false}},"location_types":{"minItems":1,"maxItems":2,"type":"array","items":{"type":"string","enum":["home","recent"]}}},"additionalProperties":false},"interests":{"maxItems":250,"type":"array","items":{"anyOf":[{"type":"string","minLength":1,"maxLength":256},{"type":"integer","minimum":0,"maximum":9007199254740991}]}},"locales":{"maxItems":250,"type":"array","items":{"type":"integer","minimum":0,"maximum":9007199254740991}},"relationship_statuses":{"maxItems":4,"type":"array","items":{"anyOf":[{"type":"number","const":1},{"type":"number","const":2},{"type":"number","const":3},{"type":"number","const":4}]}}},"additionalProperties":false},"targeting":{"type":"object","properties":{"age_min":{"anyOf":[{"type":"number","const":13},{"type":"number","const":15},{"type":"number","const":18},{"type":"number","const":21},{"type":"number","const":25}]},"geo_locations":{"type":"object","properties":{"countries":{"minItems":1,"maxItems":25,"type":"array","items":{"type":"string","pattern":"^[A-Z]{2}$"}},"regions":{"minItems":1,"maxItems":250,"type":"array","items":{"type":"object","properties":{"key":{"anyOf":[{"type":"string","minLength":1,"maxLength":256},{"type":"integer","minimum":0,"maximum":9007199254740991}]}},"required":["key"],"additionalProperties":false}},"cities":{"minItems":1,"maxItems":250,"type":"array","items":{"type":"object","properties":{"key":{"anyOf":[{"type":"string","minLength":1,"maxLength":256},{"type":"integer","minimum":0,"maximum":9007199254740991}]},"radius":{"type":"number","exclusiveMinimum":0,"maximum":1000},"distance_unit":{"type":"string","enum":["mile","kilometer"]}},"required":["key"],"additionalProperties":false}},"zips":{"minItems":1,"maxItems":250,"type":"array","items":{"type":"object","properties":{"key":{"anyOf":[{"type":"string","minLength":1,"maxLength":256},{"type":"integer","minimum":0,"maximum":9007199254740991}]}},"required":["key"],"additionalProperties":false}},"location_types":{"minItems":1,"maxItems":2,"type":"array","items":{"type":"string","enum":["home","recent"]}}},"additionalProperties":false}},"additionalProperties":false},"child_attachments":{"minItems":2,"maxItems":10,"type":"array","items":{"type":"object","properties":{"link":{"type":"string","format":"uri"},"name":{"type":"string","maxLength":255},"description":{"type":"string","maxLength":1000},"picture":{"type":"string","format":"uri"}},"required":["link","picture"],"additionalProperties":false}},"multi_share_end_card":{"type":"boolean"},"multi_share_optimized":{"type":"boolean"},"unpublished_content_type":{"type":"string","enum":["SCHEDULED","SCHEDULED_RECURRING","DRAFT","PUBLISH_PENDING","ADS_POST","INLINE_CREATED","PUBLISHED","REVIEWABLE_BRANDED_CONTENT"]},"no_story":{"type":"boolean"},"crossposted_video_id":{"type":"string","minLength":1,"maxLength":256},"spherical":{"type":"boolean"},"media_options":{"maxItems":20,"type":"array","items":{"type":"object","properties":{"asset_id":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},"alt_text_custom":{"type":"string","minLength":1,"maxLength":1000}},"required":["asset_id"],"additionalProperties":false}}},"required":["post_type"],"additionalProperties":false}},"required":["platform","publish_options"],"additionalProperties":false},{"type":"object","properties":{"platform":{"type":"string","const":"threads"},"publish_options":{"type":"object","properties":{"post_type":{"type":"string","enum":["TEXT","IMAGE","VIDEO","CAROUSEL","REPOST"]},"reply_to_id":{"type":"string","minLength":1,"maxLength":256},"quote_post_id":{"type":"string","minLength":1,"maxLength":256},"repost_target_id":{"type":"string","minLength":1,"maxLength":256},"reply_control":{"type":"string","enum":["everyone","accounts_you_follow","mentioned_only","parent_post_author_only","followers_only"]},"enable_reply_approvals":{"type":"boolean"},"link_attachment":{"type":"string","format":"uri"},"poll_attachment":{"type":"object","properties":{"option_a":{"type":"string","minLength":1,"maxLength":25},"option_b":{"type":"string","minLength":1,"maxLength":25},"option_c":{"type":"string","minLength":1,"maxLength":25},"option_d":{"type":"string","minLength":1,"maxLength":25}},"required":["option_a","option_b"],"additionalProperties":false},"gif_attachment":{"type":"object","properties":{"gif_id":{"type":"string","minLength":1,"maxLength":256},"provider":{"type":"string","const":"GIPHY"}},"required":["gif_id","provider"],"additionalProperties":false},"text_attachment":{"type":"object","properties":{"plaintext":{"type":"string","minLength":1,"maxLength":10000},"link_attachment_url":{"type":"string","format":"uri"},"text_with_styling_info":{"maxItems":100,"type":"array","items":{"type":"object","properties":{"offset":{"type":"integer","minimum":0,"maximum":9007199254740991},"length":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},"styling_info":{"minItems":1,"type":"array","items":{"type":"string","enum":["bold","italic","highlight","underline","strikethrough"]}}},"required":["offset","length","styling_info"],"additionalProperties":false}}},"required":["plaintext"],"additionalProperties":false},"topic_tag":{"type":"string","minLength":1,"maxLength":50},"text_entities":{"maxItems":10,"type":"array","items":{"type":"object","properties":{"entity_type":{"type":"string","enum":["SPOILER","spoiler"]},"offset":{"type":"integer","minimum":0,"maximum":9007199254740991},"length":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991}},"required":["entity_type","offset","length"],"additionalProperties":false}},"is_spoiler_media":{"type":"boolean"},"is_ghost_post":{"type":"boolean"},"location_id":{"type":"string","minLength":1,"maxLength":256},"allowlisted_country_codes":{"minItems":1,"maxItems":249,"type":"array","items":{"type":"string","pattern":"^[A-Z]{2}$"}},"crossreshare_to_ig":{"type":"boolean"},"crossreshare_to_ig_dark_mode":{"type":"boolean"},"auto_publish_text":{"type":"boolean"},"media_options":{"maxItems":20,"type":"array","items":{"type":"object","properties":{"asset_id":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},"alt_text":{"type":"string","minLength":1,"maxLength":1000},"is_spoiler_media":{"type":"boolean"}},"required":["asset_id"],"additionalProperties":false}}},"required":["post_type"],"additionalProperties":false}},"required":["platform","publish_options"],"additionalProperties":false},{"type":"object","properties":{"platform":{"type":"string","const":"youtube"},"publish_options":{"type":"object","properties":{"post_type":{"type":"string","const":"VIDEO"},"title":{"type":"string","minLength":1,"maxLength":100},"description":{"type":"string","maxLength":5000},"tags":{"maxItems":100,"type":"array","items":{"type":"string","minLength":1,"maxLength":500}},"category_id":{"anyOf":[{"type":"string","minLength":0,"maxLength":0},{"type":"string","pattern":"^\\d+$"}]},"default_language":{"type":"string","minLength":2,"maxLength":35},"localizations":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{"type":"object","properties":{"title":{"type":"string","minLength":1,"maxLength":100},"description":{"type":"string","maxLength":5000}},"required":["title","description"],"additionalProperties":false}},"privacy_status":{"type":"string","enum":["private","unlisted","public"]},"cancellation_mode":{"type":"string","enum":["DELETE","UNSCHEDULE_KEEP_PRIVATE"]},"license":{"type":"string","enum":["youtube","creativeCommon"]},"embeddable":{"type":"boolean"},"public_stats_viewable":{"type":"boolean"},"self_declared_made_for_kids":{"type":"boolean"},"contains_synthetic_media":{"type":"boolean"},"has_paid_product_placement":{"type":"boolean"},"recording_date":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},"notify_subscribers":{"type":"boolean"},"thumbnail_asset_id":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},"surface_expectation":{"type":"string","const":"SHORT"},"brand_partner":{"type":"object","properties":{"channel_id":{"type":"string","pattern":"^UC[A-Za-z0-9_-]+$"},"channel_handle":{"type":"string","pattern":"^@[A-Za-z0-9._-]+$"}},"additionalProperties":false}},"required":["post_type","title","privacy_status","cancellation_mode"],"additionalProperties":false}},"required":["platform","publish_options"],"additionalProperties":false}]},"draft":{"type":"object","properties":{"caption":{"default":null,"anyOf":[{"type":"string","maxLength":5000},{"type":"null"}]},"hashtags":{"default":[],"maxItems":100,"type":"array","items":{"type":"string","maxLength":100}},"scheduled_at":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},"display_timezone":{"type":"string","minLength":1,"maxLength":80},"local_scheduled_at":{"type":"string","pattern":"^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}(?::\\d{2}(?:\\.\\d{1,6})?)?$"},"schedule_dst_disambiguation":{"type":"string","enum":["exact","earlier","later"]},"expires_at":{"anyOf":[{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},{"type":"null"}]}},"required":["scheduled_at","display_timezone"],"additionalProperties":false}},"required":["social_account_id","media","provider_payload"],"additionalProperties":false}}},"required":["workspace_id","targets"],"additionalProperties":false},"studio-api-scheduled-posts-eligibility-response":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"destinations":{"maxItems":50,"type":"array","items":{"type":"object","properties":{"social_account_id":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"platform":{"anyOf":[{"type":"string","enum":["instagram","threads","facebook","youtube","x"]},{"type":"null"}]},"status":{"type":"string","enum":["eligible","ineligible","unknown"]},"reason_code":{"type":"string","enum":["eligible","account_not_found","account_disconnected","account_action_required","account_temporarily_unavailable","account_publishing_restricted","account_readiness_unknown","account_sponsorship_required","organization_channel_disconnected","provider_authorization_revoke_pending","organization_channel_not_primary","organization_channel_transition","organization_new_work_blocked","content_incompatible","schedule_incompatible","schedule_check_unavailable","capability_unavailable","capability_unknown"]},"message":{"type":"string","minLength":1,"maxLength":500},"required_capabilities":{"maxItems":20,"type":"array","items":{"type":"string","minLength":1,"maxLength":100}}},"required":["social_account_id","platform","status","reason_code","message","required_capabilities"]}},"quota":{"type":"object","properties":{"status":{"type":"string","enum":["available","insufficient","unknown","not_enforced"]},"requested_destinations":{"type":"integer","exclusiveMinimum":0,"maximum":50},"remaining_publishes":{"anyOf":[{"type":"integer","minimum":0,"maximum":9007199254740991},{"type":"null"}]},"remaining_pending_posts":{"anyOf":[{"type":"integer","minimum":0,"maximum":9007199254740991},{"type":"null"}]},"period_start":{"anyOf":[{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},{"type":"null"}]},"period_end":{"anyOf":[{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},{"type":"null"}]},"checked_at":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},"reserved":{"type":"boolean","const":false}},"required":["status","requested_destinations","remaining_publishes","remaining_pending_posts","period_start","period_end","checked_at","reserved"]}},"required":["destinations"]},"studio-api-scheduled-posts-get-request":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"id":{"type":"string","pattern":"^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$"}},"required":["id"],"additionalProperties":false},"studio-api-scheduled-posts-get-response":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"post":{"type":"object","properties":{"id":{"type":"string","pattern":"^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$"},"workspace_id":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"social_account_id":{"anyOf":[{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},{"type":"null"}]},"platform":{"type":"string","enum":["instagram","threads","facebook","youtube","x"]},"destination":{"type":"object","properties":{"social_account_id":{"anyOf":[{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},{"type":"null"}]},"platform":{"type":"string","enum":["instagram","threads","facebook","youtube","x"]},"platform_user_id":{"anyOf":[{"type":"string"},{"type":"null"}]},"account_label":{"anyOf":[{"type":"string"},{"type":"null"}]}},"required":["social_account_id","platform","platform_user_id","account_label"]},"caption":{"anyOf":[{"type":"string"},{"type":"null"}]},"hashtags":{"type":"array","items":{"type":"string"}},"media":{"type":"array","items":{"type":"object","properties":{"kind":{"type":"string","enum":["image","video"]},"url":{"type":"string","format":"uri"},"cover_url":{"anyOf":[{"type":"string","format":"uri"},{"type":"null"}]},"cover_asset_id":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"null"}]},"asset_id":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"null"}]},"mime_type":{"anyOf":[{"type":"string","minLength":1,"maxLength":160},{"type":"null"}]},"preview_url":{"description":"Temporary authorized read URL; keep url as persisted Scheduled Post media identity.","anyOf":[{"type":"string","format":"uri"},{"type":"null"}]},"cover_preview_url":{"description":"Temporary authorized cover read URL; keep cover_url as persisted media identity.","anyOf":[{"type":"string","format":"uri"},{"type":"null"}]},"preview_expires_at":{"anyOf":[{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z))$"},{"type":"null"}]}},"required":["kind","url"]}},"link_url":{"anyOf":[{"type":"string","format":"uri"},{"type":"null"}]},"publish_options":{"type":"object","properties":{"post_type":{"type":"string","enum":["TEXT","LINK","IMAGE","MULTI_IMAGE","VIDEO","CAROUSEL","REELS","STORY_IMAGE","STORY_VIDEO","REPOST","SHORT"]},"location_id":{"type":"string","minLength":1},"share_to_feed":{"type":"boolean"},"collaborators":{"maxItems":3,"type":"array","items":{"type":"string","minLength":1}},"first_comment":{"type":"string","minLength":1,"maxLength":2200},"topic_tag":{"type":"string","minLength":1},"thumb_offset_ms":{"type":"integer","minimum":0,"maximum":9007199254740991},"title":{"type":"string","maxLength":255},"youtube_privacy_status":{"type":"string","enum":["private","unlisted","public"]},"youtube_category_id":{"type":"string","pattern":"^\\d+$"},"youtube_contains_synthetic_media":{"type":"boolean"},"description":{"type":"string","maxLength":5000},"category_id":{"type":"string","pattern":"^\\d+$"},"privacy_status":{"type":"string","enum":["private","unlisted","public"]},"cancellation_mode":{"type":"string","enum":["DELETE","UNSCHEDULE_KEEP_PRIVATE"]},"tags":{"type":"array","items":{"type":"string"}},"default_language":{"type":"string"},"localizations":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{}},"license":{"type":"string","enum":["youtube","creativeCommon"]},"embeddable":{"type":"boolean"},"public_stats_viewable":{"type":"boolean"},"self_declared_made_for_kids":{"type":"boolean"},"contains_synthetic_media":{"type":"boolean"},"has_paid_product_placement":{"type":"boolean"},"recording_date":{"type":"string"},"notify_subscribers":{"type":"boolean"},"thumbnail_asset_id":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},"surface_expectation":{"type":"string","const":"SHORT"},"brand_partner":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{}},"cover_asset_id":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},"audio_name":{"type":"string"},"trial_params":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{}},"is_ai_generated":{"type":"boolean"},"branded_content_sponsor_ids":{"type":"array","items":{"type":"string"}},"is_paid_partnership":{"type":"boolean"},"media_options":{"type":"array","items":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{}}},"reply_to_id":{"type":"string"},"quote_post_id":{"type":"string"},"repost_target_id":{"type":"string"},"reply_control":{"type":"string"},"enable_reply_approvals":{"type":"boolean"},"link_attachment":{"type":"string","format":"uri"},"poll_attachment":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{}},"gif_attachment":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{}},"text_attachment":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{}},"text_entities":{"type":"array","items":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{}}},"is_spoiler_media":{"type":"boolean"},"is_ghost_post":{"type":"boolean"},"allowlisted_country_codes":{"type":"array","items":{"type":"string"}},"crossreshare_to_ig":{"type":"boolean"},"crossreshare_to_ig_dark_mode":{"type":"boolean"},"auto_publish_text":{"type":"boolean"},"publication_mode":{"type":"string","enum":["PUBLISH","DRAFT"]},"backdated_time":{"type":"number"},"backdated_time_granularity":{"type":"string","enum":["year","month","day","hour","minute"]},"place":{"type":"string"},"feed_targeting":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{}},"targeting":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{}},"child_attachments":{"type":"array","items":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{}}},"multi_share_end_card":{"type":"boolean"},"multi_share_optimized":{"type":"boolean"},"unpublished_content_type":{"type":"string"},"no_story":{"type":"boolean"},"crossposted_video_id":{"type":"string"},"spherical":{"type":"boolean"}}},"scheduled_at":{"type":"string"},"display_timezone":{"type":"string","minLength":1,"maxLength":80},"local_scheduled_at":{"anyOf":[{"type":"string","pattern":"^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}(?::\\d{2}(?:\\.\\d{1,6})?)?$"},{"type":"null"}]},"schedule_timezone":{"anyOf":[{"type":"string","minLength":1,"maxLength":80},{"type":"null"}]},"schedule_dst_disambiguation":{"anyOf":[{"type":"string","enum":["exact","earlier","later"]},{"type":"null"}]},"schedule_intent_state":{"type":"string","enum":["verified","legacy_unverified"]},"expires_at":{"anyOf":[{"type":"string"},{"type":"null"}]},"status":{"type":"string","enum":["scheduled","publishing","published","failed","expired","needs_reschedule","cancelled","deleted"]},"version":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},"automatic_retry_enabled":{"type":"boolean"},"delete_requested_at":{"anyOf":[{"type":"string"},{"type":"null"}]},"published_at":{"anyOf":[{"type":"string"},{"type":"null"}]},"deleted_at":{"anyOf":[{"type":"string"},{"type":"null"}]},"provider_post_id":{"anyOf":[{"type":"string"},{"type":"null"}]},"permalink":{"anyOf":[{"type":"string","format":"uri"},{"type":"null"}]},"created_at":{"type":"string"},"updated_at":{"type":"string"}},"required":["id","workspace_id","social_account_id","platform","destination","caption","hashtags","media","publish_options","scheduled_at","display_timezone","expires_at","status","version","automatic_retry_enabled","delete_requested_at","published_at","deleted_at","provider_post_id","permalink","created_at","updated_at"]},"delivery":{"type":"object","properties":{"stage":{"type":"string","enum":["scheduled","preparing","delivering","reconciling","cancelling","terminal"]},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["stage","message"]},"actions":{"minItems":5,"maxItems":5,"type":"array","items":{"type":"object","properties":{"action":{"type":"string","enum":["edit","publish_now","retry","cancel","delete"]},"allowed":{"type":"boolean"},"reason_code":{"type":"string","enum":["allowed","terminal_state","provider_preparation_started","delivery_started","not_scheduled","not_failed","retry_evidence_missing","destination_disconnected","expiry_passed","cancellation_in_progress","delete_in_progress","not_published"]},"message":{"type":"string","minLength":1,"maxLength":500}},"required":["action","allowed","reason_code","message"]}},"attempts":{"maxItems":200,"type":"array","items":{"type":"object","properties":{"id":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"operation":{"type":"string","enum":["publish","delete"]},"attempt_number":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},"dispatched_at":{"type":"string"}},"required":["id","operation","attempt_number","dispatched_at"]}},"outcomes":{"maxItems":200,"type":"array","items":{"type":"object","properties":{"id":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"publication_attempt_id":{"anyOf":[{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},{"type":"null"}]},"operation":{"type":"string","enum":["publish","delete"]},"status":{"type":"string","enum":["published","failed","deleted"]},"provider_post_id":{"anyOf":[{"type":"string"},{"type":"null"}]},"permalink":{"anyOf":[{"type":"string","format":"uri"},{"type":"null"}]},"message":{"type":"string","minLength":1,"maxLength":500},"observed_at":{"type":"string"},"terminal_suboperation":{"type":"object","properties":{"kind":{"type":"string","const":"instagram_first_comment"},"status":{"type":"string","enum":["succeeded","failed","attention"]},"external_id":{"anyOf":[{"type":"string","minLength":1,"maxLength":500},{"type":"null"}]}},"required":["kind","status","external_id"]}},"required":["id","publication_attempt_id","operation","status","provider_post_id","permalink","message","observed_at"]}}},"required":["post","delivery","actions","attempts","outcomes"]},"studio-api-scheduled-posts-list-request":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"workspace_id":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"project_id":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"status":{"type":"string","enum":["scheduled","publishing","published","failed","expired","needs_reschedule","cancelled","deleted"]},"scheduled_from":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},"scheduled_to":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},"limit":{"default":50,"type":"integer","minimum":1,"maximum":200},"cursor":{"type":"object","properties":{"scheduled_at":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},"id":{"type":"string","pattern":"^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$"}},"required":["scheduled_at","id"],"additionalProperties":false}},"required":["workspace_id"],"additionalProperties":false},"studio-api-scheduled-posts-list-response":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"posts":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","pattern":"^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$"},"workspace_id":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"social_account_id":{"anyOf":[{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},{"type":"null"}]},"platform":{"type":"string","enum":["instagram","threads","facebook","youtube","x"]},"destination":{"type":"object","properties":{"social_account_id":{"anyOf":[{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},{"type":"null"}]},"platform":{"type":"string","enum":["instagram","threads","facebook","youtube","x"]},"platform_user_id":{"anyOf":[{"type":"string"},{"type":"null"}]},"account_label":{"anyOf":[{"type":"string"},{"type":"null"}]}},"required":["social_account_id","platform","platform_user_id","account_label"]},"caption":{"anyOf":[{"type":"string"},{"type":"null"}]},"hashtags":{"type":"array","items":{"type":"string"}},"media":{"type":"array","items":{"type":"object","properties":{"kind":{"type":"string","enum":["image","video"]},"url":{"type":"string","format":"uri"},"cover_url":{"anyOf":[{"type":"string","format":"uri"},{"type":"null"}]},"cover_asset_id":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"null"}]},"asset_id":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"null"}]},"mime_type":{"anyOf":[{"type":"string","minLength":1,"maxLength":160},{"type":"null"}]},"preview_url":{"description":"Temporary authorized read URL; keep url as persisted Scheduled Post media identity.","anyOf":[{"type":"string","format":"uri"},{"type":"null"}]},"cover_preview_url":{"description":"Temporary authorized cover read URL; keep cover_url as persisted media identity.","anyOf":[{"type":"string","format":"uri"},{"type":"null"}]},"preview_expires_at":{"anyOf":[{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z))$"},{"type":"null"}]}},"required":["kind","url"]}},"link_url":{"anyOf":[{"type":"string","format":"uri"},{"type":"null"}]},"publish_options":{"type":"object","properties":{"post_type":{"type":"string","enum":["TEXT","LINK","IMAGE","MULTI_IMAGE","VIDEO","CAROUSEL","REELS","STORY_IMAGE","STORY_VIDEO","REPOST","SHORT"]},"location_id":{"type":"string","minLength":1},"share_to_feed":{"type":"boolean"},"collaborators":{"maxItems":3,"type":"array","items":{"type":"string","minLength":1}},"first_comment":{"type":"string","minLength":1,"maxLength":2200},"topic_tag":{"type":"string","minLength":1},"thumb_offset_ms":{"type":"integer","minimum":0,"maximum":9007199254740991},"title":{"type":"string","maxLength":255},"youtube_privacy_status":{"type":"string","enum":["private","unlisted","public"]},"youtube_category_id":{"type":"string","pattern":"^\\d+$"},"youtube_contains_synthetic_media":{"type":"boolean"},"description":{"type":"string","maxLength":5000},"category_id":{"type":"string","pattern":"^\\d+$"},"privacy_status":{"type":"string","enum":["private","unlisted","public"]},"cancellation_mode":{"type":"string","enum":["DELETE","UNSCHEDULE_KEEP_PRIVATE"]},"tags":{"type":"array","items":{"type":"string"}},"default_language":{"type":"string"},"localizations":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{}},"license":{"type":"string","enum":["youtube","creativeCommon"]},"embeddable":{"type":"boolean"},"public_stats_viewable":{"type":"boolean"},"self_declared_made_for_kids":{"type":"boolean"},"contains_synthetic_media":{"type":"boolean"},"has_paid_product_placement":{"type":"boolean"},"recording_date":{"type":"string"},"notify_subscribers":{"type":"boolean"},"thumbnail_asset_id":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},"surface_expectation":{"type":"string","const":"SHORT"},"brand_partner":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{}},"cover_asset_id":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},"audio_name":{"type":"string"},"trial_params":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{}},"is_ai_generated":{"type":"boolean"},"branded_content_sponsor_ids":{"type":"array","items":{"type":"string"}},"is_paid_partnership":{"type":"boolean"},"media_options":{"type":"array","items":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{}}},"reply_to_id":{"type":"string"},"quote_post_id":{"type":"string"},"repost_target_id":{"type":"string"},"reply_control":{"type":"string"},"enable_reply_approvals":{"type":"boolean"},"link_attachment":{"type":"string","format":"uri"},"poll_attachment":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{}},"gif_attachment":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{}},"text_attachment":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{}},"text_entities":{"type":"array","items":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{}}},"is_spoiler_media":{"type":"boolean"},"is_ghost_post":{"type":"boolean"},"allowlisted_country_codes":{"type":"array","items":{"type":"string"}},"crossreshare_to_ig":{"type":"boolean"},"crossreshare_to_ig_dark_mode":{"type":"boolean"},"auto_publish_text":{"type":"boolean"},"publication_mode":{"type":"string","enum":["PUBLISH","DRAFT"]},"backdated_time":{"type":"number"},"backdated_time_granularity":{"type":"string","enum":["year","month","day","hour","minute"]},"place":{"type":"string"},"feed_targeting":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{}},"targeting":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{}},"child_attachments":{"type":"array","items":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{}}},"multi_share_end_card":{"type":"boolean"},"multi_share_optimized":{"type":"boolean"},"unpublished_content_type":{"type":"string"},"no_story":{"type":"boolean"},"crossposted_video_id":{"type":"string"},"spherical":{"type":"boolean"}}},"scheduled_at":{"type":"string"},"display_timezone":{"type":"string","minLength":1,"maxLength":80},"local_scheduled_at":{"anyOf":[{"type":"string","pattern":"^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}(?::\\d{2}(?:\\.\\d{1,6})?)?$"},{"type":"null"}]},"schedule_timezone":{"anyOf":[{"type":"string","minLength":1,"maxLength":80},{"type":"null"}]},"schedule_dst_disambiguation":{"anyOf":[{"type":"string","enum":["exact","earlier","later"]},{"type":"null"}]},"schedule_intent_state":{"type":"string","enum":["verified","legacy_unverified"]},"expires_at":{"anyOf":[{"type":"string"},{"type":"null"}]},"status":{"type":"string","enum":["scheduled","publishing","published","failed","expired","needs_reschedule","cancelled","deleted"]},"version":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},"automatic_retry_enabled":{"type":"boolean"},"delete_requested_at":{"anyOf":[{"type":"string"},{"type":"null"}]},"published_at":{"anyOf":[{"type":"string"},{"type":"null"}]},"deleted_at":{"anyOf":[{"type":"string"},{"type":"null"}]},"provider_post_id":{"anyOf":[{"type":"string"},{"type":"null"}]},"permalink":{"anyOf":[{"type":"string","format":"uri"},{"type":"null"}]},"created_at":{"type":"string"},"updated_at":{"type":"string"},"project_id":{"anyOf":[{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},{"type":"null"}]},"batch_id":{"anyOf":[{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},{"type":"null"}]},"source_ref":{"anyOf":[{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{}},{"type":"null"}]}},"required":["id","workspace_id","social_account_id","platform","destination","caption","hashtags","media","publish_options","scheduled_at","display_timezone","expires_at","status","version","automatic_retry_enabled","delete_requested_at","published_at","deleted_at","provider_post_id","permalink","created_at","updated_at","project_id","batch_id","source_ref"]}},"next_cursor":{"anyOf":[{"type":"object","properties":{"scheduled_at":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},"id":{"type":"string","pattern":"^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$"}},"required":["scheduled_at","id"]},{"type":"null"}]},"returned_count":{"type":"integer","minimum":0,"maximum":9007199254740991}},"required":["posts","next_cursor","returned_count"]},"studio-api-scheduled-posts-publish-now-request":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"id":{"type":"string","pattern":"^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$"},"expected_version":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991}},"required":["id","expected_version"],"additionalProperties":false},"studio-api-scheduled-posts-publish-now-response":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"post":{"type":"object","properties":{"id":{"type":"string","pattern":"^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$"},"workspace_id":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"social_account_id":{"anyOf":[{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},{"type":"null"}]},"platform":{"type":"string","enum":["instagram","threads","facebook","youtube","x"]},"destination":{"type":"object","properties":{"social_account_id":{"anyOf":[{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},{"type":"null"}]},"platform":{"type":"string","enum":["instagram","threads","facebook","youtube","x"]},"platform_user_id":{"anyOf":[{"type":"string"},{"type":"null"}]},"account_label":{"anyOf":[{"type":"string"},{"type":"null"}]}},"required":["social_account_id","platform","platform_user_id","account_label"]},"caption":{"anyOf":[{"type":"string"},{"type":"null"}]},"hashtags":{"type":"array","items":{"type":"string"}},"media":{"type":"array","items":{"type":"object","properties":{"kind":{"type":"string","enum":["image","video"]},"url":{"type":"string","format":"uri"},"cover_url":{"anyOf":[{"type":"string","format":"uri"},{"type":"null"}]},"cover_asset_id":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"null"}]},"asset_id":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"null"}]},"mime_type":{"anyOf":[{"type":"string","minLength":1,"maxLength":160},{"type":"null"}]},"preview_url":{"description":"Temporary authorized read URL; keep url as persisted Scheduled Post media identity.","anyOf":[{"type":"string","format":"uri"},{"type":"null"}]},"cover_preview_url":{"description":"Temporary authorized cover read URL; keep cover_url as persisted media identity.","anyOf":[{"type":"string","format":"uri"},{"type":"null"}]},"preview_expires_at":{"anyOf":[{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z))$"},{"type":"null"}]}},"required":["kind","url"]}},"link_url":{"anyOf":[{"type":"string","format":"uri"},{"type":"null"}]},"publish_options":{"type":"object","properties":{"post_type":{"type":"string","enum":["TEXT","LINK","IMAGE","MULTI_IMAGE","VIDEO","CAROUSEL","REELS","STORY_IMAGE","STORY_VIDEO","REPOST","SHORT"]},"location_id":{"type":"string","minLength":1},"share_to_feed":{"type":"boolean"},"collaborators":{"maxItems":3,"type":"array","items":{"type":"string","minLength":1}},"first_comment":{"type":"string","minLength":1,"maxLength":2200},"topic_tag":{"type":"string","minLength":1},"thumb_offset_ms":{"type":"integer","minimum":0,"maximum":9007199254740991},"title":{"type":"string","maxLength":255},"youtube_privacy_status":{"type":"string","enum":["private","unlisted","public"]},"youtube_category_id":{"type":"string","pattern":"^\\d+$"},"youtube_contains_synthetic_media":{"type":"boolean"},"description":{"type":"string","maxLength":5000},"category_id":{"type":"string","pattern":"^\\d+$"},"privacy_status":{"type":"string","enum":["private","unlisted","public"]},"cancellation_mode":{"type":"string","enum":["DELETE","UNSCHEDULE_KEEP_PRIVATE"]},"tags":{"type":"array","items":{"type":"string"}},"default_language":{"type":"string"},"localizations":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{}},"license":{"type":"string","enum":["youtube","creativeCommon"]},"embeddable":{"type":"boolean"},"public_stats_viewable":{"type":"boolean"},"self_declared_made_for_kids":{"type":"boolean"},"contains_synthetic_media":{"type":"boolean"},"has_paid_product_placement":{"type":"boolean"},"recording_date":{"type":"string"},"notify_subscribers":{"type":"boolean"},"thumbnail_asset_id":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},"surface_expectation":{"type":"string","const":"SHORT"},"brand_partner":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{}},"cover_asset_id":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},"audio_name":{"type":"string"},"trial_params":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{}},"is_ai_generated":{"type":"boolean"},"branded_content_sponsor_ids":{"type":"array","items":{"type":"string"}},"is_paid_partnership":{"type":"boolean"},"media_options":{"type":"array","items":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{}}},"reply_to_id":{"type":"string"},"quote_post_id":{"type":"string"},"repost_target_id":{"type":"string"},"reply_control":{"type":"string"},"enable_reply_approvals":{"type":"boolean"},"link_attachment":{"type":"string","format":"uri"},"poll_attachment":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{}},"gif_attachment":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{}},"text_attachment":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{}},"text_entities":{"type":"array","items":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{}}},"is_spoiler_media":{"type":"boolean"},"is_ghost_post":{"type":"boolean"},"allowlisted_country_codes":{"type":"array","items":{"type":"string"}},"crossreshare_to_ig":{"type":"boolean"},"crossreshare_to_ig_dark_mode":{"type":"boolean"},"auto_publish_text":{"type":"boolean"},"publication_mode":{"type":"string","enum":["PUBLISH","DRAFT"]},"backdated_time":{"type":"number"},"backdated_time_granularity":{"type":"string","enum":["year","month","day","hour","minute"]},"place":{"type":"string"},"feed_targeting":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{}},"targeting":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{}},"child_attachments":{"type":"array","items":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{}}},"multi_share_end_card":{"type":"boolean"},"multi_share_optimized":{"type":"boolean"},"unpublished_content_type":{"type":"string"},"no_story":{"type":"boolean"},"crossposted_video_id":{"type":"string"},"spherical":{"type":"boolean"}}},"scheduled_at":{"type":"string"},"display_timezone":{"type":"string","minLength":1,"maxLength":80},"local_scheduled_at":{"anyOf":[{"type":"string","pattern":"^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}(?::\\d{2}(?:\\.\\d{1,6})?)?$"},{"type":"null"}]},"schedule_timezone":{"anyOf":[{"type":"string","minLength":1,"maxLength":80},{"type":"null"}]},"schedule_dst_disambiguation":{"anyOf":[{"type":"string","enum":["exact","earlier","later"]},{"type":"null"}]},"schedule_intent_state":{"type":"string","enum":["verified","legacy_unverified"]},"expires_at":{"anyOf":[{"type":"string"},{"type":"null"}]},"status":{"type":"string","enum":["scheduled","publishing","published","failed","expired","needs_reschedule","cancelled","deleted"]},"version":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},"automatic_retry_enabled":{"type":"boolean"},"delete_requested_at":{"anyOf":[{"type":"string"},{"type":"null"}]},"published_at":{"anyOf":[{"type":"string"},{"type":"null"}]},"deleted_at":{"anyOf":[{"type":"string"},{"type":"null"}]},"provider_post_id":{"anyOf":[{"type":"string"},{"type":"null"}]},"permalink":{"anyOf":[{"type":"string","format":"uri"},{"type":"null"}]},"created_at":{"type":"string"},"updated_at":{"type":"string"},"project_id":{"anyOf":[{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},{"type":"null"}]},"batch_id":{"anyOf":[{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},{"type":"null"}]},"source_ref":{"anyOf":[{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{}},{"type":"null"}]}},"required":["id","workspace_id","social_account_id","platform","destination","caption","hashtags","media","publish_options","scheduled_at","display_timezone","expires_at","status","version","automatic_retry_enabled","delete_requested_at","published_at","deleted_at","provider_post_id","permalink","created_at","updated_at","project_id","batch_id","source_ref"]}},"required":["post"]},"studio-api-scheduled-posts-retry-request":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"id":{"type":"string","pattern":"^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$"},"expected_version":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},"scheduled_at":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"}},"required":["id","expected_version"],"additionalProperties":false},"studio-api-scheduled-posts-retry-response":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"post":{"type":"object","properties":{"id":{"type":"string","pattern":"^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$"},"workspace_id":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"social_account_id":{"anyOf":[{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},{"type":"null"}]},"platform":{"type":"string","enum":["instagram","threads","facebook","youtube","x"]},"destination":{"type":"object","properties":{"social_account_id":{"anyOf":[{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},{"type":"null"}]},"platform":{"type":"string","enum":["instagram","threads","facebook","youtube","x"]},"platform_user_id":{"anyOf":[{"type":"string"},{"type":"null"}]},"account_label":{"anyOf":[{"type":"string"},{"type":"null"}]}},"required":["social_account_id","platform","platform_user_id","account_label"]},"caption":{"anyOf":[{"type":"string"},{"type":"null"}]},"hashtags":{"type":"array","items":{"type":"string"}},"media":{"type":"array","items":{"type":"object","properties":{"kind":{"type":"string","enum":["image","video"]},"url":{"type":"string","format":"uri"},"cover_url":{"anyOf":[{"type":"string","format":"uri"},{"type":"null"}]},"cover_asset_id":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"null"}]},"asset_id":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"null"}]},"mime_type":{"anyOf":[{"type":"string","minLength":1,"maxLength":160},{"type":"null"}]},"preview_url":{"description":"Temporary authorized read URL; keep url as persisted Scheduled Post media identity.","anyOf":[{"type":"string","format":"uri"},{"type":"null"}]},"cover_preview_url":{"description":"Temporary authorized cover read URL; keep cover_url as persisted media identity.","anyOf":[{"type":"string","format":"uri"},{"type":"null"}]},"preview_expires_at":{"anyOf":[{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z))$"},{"type":"null"}]}},"required":["kind","url"]}},"link_url":{"anyOf":[{"type":"string","format":"uri"},{"type":"null"}]},"publish_options":{"type":"object","properties":{"post_type":{"type":"string","enum":["TEXT","LINK","IMAGE","MULTI_IMAGE","VIDEO","CAROUSEL","REELS","STORY_IMAGE","STORY_VIDEO","REPOST","SHORT"]},"location_id":{"type":"string","minLength":1},"share_to_feed":{"type":"boolean"},"collaborators":{"maxItems":3,"type":"array","items":{"type":"string","minLength":1}},"first_comment":{"type":"string","minLength":1,"maxLength":2200},"topic_tag":{"type":"string","minLength":1},"thumb_offset_ms":{"type":"integer","minimum":0,"maximum":9007199254740991},"title":{"type":"string","maxLength":255},"youtube_privacy_status":{"type":"string","enum":["private","unlisted","public"]},"youtube_category_id":{"type":"string","pattern":"^\\d+$"},"youtube_contains_synthetic_media":{"type":"boolean"},"description":{"type":"string","maxLength":5000},"category_id":{"type":"string","pattern":"^\\d+$"},"privacy_status":{"type":"string","enum":["private","unlisted","public"]},"cancellation_mode":{"type":"string","enum":["DELETE","UNSCHEDULE_KEEP_PRIVATE"]},"tags":{"type":"array","items":{"type":"string"}},"default_language":{"type":"string"},"localizations":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{}},"license":{"type":"string","enum":["youtube","creativeCommon"]},"embeddable":{"type":"boolean"},"public_stats_viewable":{"type":"boolean"},"self_declared_made_for_kids":{"type":"boolean"},"contains_synthetic_media":{"type":"boolean"},"has_paid_product_placement":{"type":"boolean"},"recording_date":{"type":"string"},"notify_subscribers":{"type":"boolean"},"thumbnail_asset_id":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},"surface_expectation":{"type":"string","const":"SHORT"},"brand_partner":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{}},"cover_asset_id":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},"audio_name":{"type":"string"},"trial_params":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{}},"is_ai_generated":{"type":"boolean"},"branded_content_sponsor_ids":{"type":"array","items":{"type":"string"}},"is_paid_partnership":{"type":"boolean"},"media_options":{"type":"array","items":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{}}},"reply_to_id":{"type":"string"},"quote_post_id":{"type":"string"},"repost_target_id":{"type":"string"},"reply_control":{"type":"string"},"enable_reply_approvals":{"type":"boolean"},"link_attachment":{"type":"string","format":"uri"},"poll_attachment":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{}},"gif_attachment":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{}},"text_attachment":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{}},"text_entities":{"type":"array","items":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{}}},"is_spoiler_media":{"type":"boolean"},"is_ghost_post":{"type":"boolean"},"allowlisted_country_codes":{"type":"array","items":{"type":"string"}},"crossreshare_to_ig":{"type":"boolean"},"crossreshare_to_ig_dark_mode":{"type":"boolean"},"auto_publish_text":{"type":"boolean"},"publication_mode":{"type":"string","enum":["PUBLISH","DRAFT"]},"backdated_time":{"type":"number"},"backdated_time_granularity":{"type":"string","enum":["year","month","day","hour","minute"]},"place":{"type":"string"},"feed_targeting":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{}},"targeting":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{}},"child_attachments":{"type":"array","items":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{}}},"multi_share_end_card":{"type":"boolean"},"multi_share_optimized":{"type":"boolean"},"unpublished_content_type":{"type":"string"},"no_story":{"type":"boolean"},"crossposted_video_id":{"type":"string"},"spherical":{"type":"boolean"}}},"scheduled_at":{"type":"string"},"display_timezone":{"type":"string","minLength":1,"maxLength":80},"local_scheduled_at":{"anyOf":[{"type":"string","pattern":"^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}(?::\\d{2}(?:\\.\\d{1,6})?)?$"},{"type":"null"}]},"schedule_timezone":{"anyOf":[{"type":"string","minLength":1,"maxLength":80},{"type":"null"}]},"schedule_dst_disambiguation":{"anyOf":[{"type":"string","enum":["exact","earlier","later"]},{"type":"null"}]},"schedule_intent_state":{"type":"string","enum":["verified","legacy_unverified"]},"expires_at":{"anyOf":[{"type":"string"},{"type":"null"}]},"status":{"type":"string","enum":["scheduled","publishing","published","failed","expired","needs_reschedule","cancelled","deleted"]},"version":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},"automatic_retry_enabled":{"type":"boolean"},"delete_requested_at":{"anyOf":[{"type":"string"},{"type":"null"}]},"published_at":{"anyOf":[{"type":"string"},{"type":"null"}]},"deleted_at":{"anyOf":[{"type":"string"},{"type":"null"}]},"provider_post_id":{"anyOf":[{"type":"string"},{"type":"null"}]},"permalink":{"anyOf":[{"type":"string","format":"uri"},{"type":"null"}]},"created_at":{"type":"string"},"updated_at":{"type":"string"},"project_id":{"anyOf":[{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},{"type":"null"}]},"batch_id":{"anyOf":[{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},{"type":"null"}]},"source_ref":{"anyOf":[{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{}},{"type":"null"}]}},"required":["id","workspace_id","social_account_id","platform","destination","caption","hashtags","media","publish_options","scheduled_at","display_timezone","expires_at","status","version","automatic_retry_enabled","delete_requested_at","published_at","deleted_at","provider_post_id","permalink","created_at","updated_at","project_id","batch_id","source_ref"]}},"required":["post"]},"studio-api-scheduled-posts-update-request":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"id":{"type":"string","pattern":"^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$"},"expected_version":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},"patch":{"type":"object","properties":{"caption":{"anyOf":[{"type":"string","maxLength":5000},{"type":"null"}]},"hashtags":{"maxItems":100,"type":"array","items":{"type":"string","maxLength":100}},"media":{"maxItems":20,"type":"array","items":{"type":"object","properties":{"kind":{"type":"string","enum":["image","video"]},"url":{"type":"string","format":"uri"},"cover_url":{"anyOf":[{"type":"string","format":"uri"},{"type":"null"}]},"cover_asset_id":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"null"}]},"asset_id":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"null"}]},"mime_type":{"anyOf":[{"type":"string","minLength":1,"maxLength":160},{"type":"null"}]}},"required":["kind","url"],"additionalProperties":false}},"link_url":{"anyOf":[{"type":"string","format":"uri"},{"type":"null"}]},"scheduled_at":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},"display_timezone":{"type":"string","minLength":1,"maxLength":80},"local_scheduled_at":{"type":"string","pattern":"^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}(?::\\d{2}(?:\\.\\d{1,6})?)?$"},"schedule_dst_disambiguation":{"type":"string","enum":["exact","earlier","later"]},"expires_at":{"anyOf":[{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},{"type":"null"}]},"source_ref":{"anyOf":[{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{}},{"type":"null"}]}},"additionalProperties":false},"provider_payload":{"oneOf":[{"type":"object","properties":{"platform":{"type":"string","const":"x"},"publish_options":{"type":"object","properties":{"post_type":{"type":"string","const":"TEXT"}},"required":["post_type"],"additionalProperties":false}},"required":["platform"],"additionalProperties":false},{"type":"object","properties":{"platform":{"type":"string","const":"instagram"},"publish_options":{"type":"object","properties":{"post_type":{"type":"string","enum":["IMAGE","VIDEO","CAROUSEL","REELS","STORY_IMAGE","STORY_VIDEO"]},"location_id":{"type":"string","minLength":1,"maxLength":256},"share_to_feed":{"type":"boolean"},"collaborators":{"maxItems":3,"type":"array","items":{"type":"string","minLength":1,"maxLength":30}},"first_comment":{"type":"string","minLength":1,"maxLength":2200},"cover_asset_id":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},"thumb_offset_ms":{"type":"integer","minimum":0,"maximum":9007199254740991},"audio_name":{"type":"string","minLength":1,"maxLength":100},"trial_params":{"type":"object","properties":{"graduation_strategy":{"type":"string","enum":["MANUAL","SS_PERFORMANCE"]}},"required":["graduation_strategy"],"additionalProperties":false},"is_ai_generated":{"type":"boolean"},"branded_content_sponsor_ids":{"maxItems":2,"type":"array","items":{"type":"string","minLength":1,"maxLength":256}},"is_paid_partnership":{"type":"boolean"},"media_options":{"maxItems":10,"type":"array","items":{"type":"object","properties":{"asset_id":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},"alt_text":{"type":"string","minLength":1,"maxLength":1000},"user_tags":{"maxItems":20,"type":"array","items":{"type":"object","properties":{"username":{"type":"string","minLength":1,"maxLength":30},"x":{"type":"number","minimum":0,"maximum":1},"y":{"type":"number","minimum":0,"maximum":1}},"required":["username"],"additionalProperties":false}},"product_tags":{"maxItems":5,"type":"array","items":{"type":"object","properties":{"product_id":{"type":"string","minLength":1,"maxLength":256},"x":{"type":"number","minimum":0,"maximum":1},"y":{"type":"number","minimum":0,"maximum":1}},"required":["product_id"],"additionalProperties":false}},"thumb_offset_ms":{"type":"integer","minimum":0,"maximum":9007199254740991}},"required":["asset_id"],"additionalProperties":false}}},"required":["post_type"],"additionalProperties":false}},"required":["platform"],"additionalProperties":false},{"type":"object","properties":{"platform":{"type":"string","const":"facebook"},"publish_options":{"type":"object","properties":{"post_type":{"type":"string","enum":["TEXT","LINK","IMAGE","MULTI_IMAGE","VIDEO","REELS","STORY_IMAGE","STORY_VIDEO"]},"title":{"type":"string","maxLength":255},"description":{"type":"string","maxLength":5000},"publication_mode":{"type":"string","enum":["PUBLISH","DRAFT"]},"backdated_time":{"type":"number"},"backdated_time_granularity":{"type":"string","enum":["year","month","day","hour","minute"]},"place":{"type":"string","minLength":1,"maxLength":256},"tags":{"maxItems":50,"type":"array","items":{"type":"string","minLength":1,"maxLength":256}},"feed_targeting":{"type":"object","properties":{"age_min":{"type":"integer","minimum":13,"maximum":65},"age_max":{"type":"integer","minimum":13,"maximum":65},"college_years":{"maxItems":100,"type":"array","items":{"type":"integer","minimum":1900,"maximum":2200}},"education_statuses":{"maxItems":3,"type":"array","items":{"anyOf":[{"type":"number","const":1},{"type":"number","const":2},{"type":"number","const":3}]}},"genders":{"maxItems":2,"type":"array","items":{"anyOf":[{"type":"number","const":1},{"type":"number","const":2}]}},"geo_locations":{"type":"object","properties":{"countries":{"minItems":1,"maxItems":25,"type":"array","items":{"type":"string","pattern":"^[A-Z]{2}$"}},"regions":{"minItems":1,"maxItems":250,"type":"array","items":{"type":"object","properties":{"key":{"anyOf":[{"type":"string","minLength":1,"maxLength":256},{"type":"integer","minimum":0,"maximum":9007199254740991}]}},"required":["key"],"additionalProperties":false}},"cities":{"minItems":1,"maxItems":250,"type":"array","items":{"type":"object","properties":{"key":{"anyOf":[{"type":"string","minLength":1,"maxLength":256},{"type":"integer","minimum":0,"maximum":9007199254740991}]},"radius":{"type":"number","exclusiveMinimum":0,"maximum":1000},"distance_unit":{"type":"string","enum":["mile","kilometer"]}},"required":["key"],"additionalProperties":false}},"zips":{"minItems":1,"maxItems":250,"type":"array","items":{"type":"object","properties":{"key":{"anyOf":[{"type":"string","minLength":1,"maxLength":256},{"type":"integer","minimum":0,"maximum":9007199254740991}]}},"required":["key"],"additionalProperties":false}},"location_types":{"minItems":1,"maxItems":2,"type":"array","items":{"type":"string","enum":["home","recent"]}}},"additionalProperties":false},"interests":{"maxItems":250,"type":"array","items":{"anyOf":[{"type":"string","minLength":1,"maxLength":256},{"type":"integer","minimum":0,"maximum":9007199254740991}]}},"locales":{"maxItems":250,"type":"array","items":{"type":"integer","minimum":0,"maximum":9007199254740991}},"relationship_statuses":{"maxItems":4,"type":"array","items":{"anyOf":[{"type":"number","const":1},{"type":"number","const":2},{"type":"number","const":3},{"type":"number","const":4}]}}},"additionalProperties":false},"targeting":{"type":"object","properties":{"age_min":{"anyOf":[{"type":"number","const":13},{"type":"number","const":15},{"type":"number","const":18},{"type":"number","const":21},{"type":"number","const":25}]},"geo_locations":{"type":"object","properties":{"countries":{"minItems":1,"maxItems":25,"type":"array","items":{"type":"string","pattern":"^[A-Z]{2}$"}},"regions":{"minItems":1,"maxItems":250,"type":"array","items":{"type":"object","properties":{"key":{"anyOf":[{"type":"string","minLength":1,"maxLength":256},{"type":"integer","minimum":0,"maximum":9007199254740991}]}},"required":["key"],"additionalProperties":false}},"cities":{"minItems":1,"maxItems":250,"type":"array","items":{"type":"object","properties":{"key":{"anyOf":[{"type":"string","minLength":1,"maxLength":256},{"type":"integer","minimum":0,"maximum":9007199254740991}]},"radius":{"type":"number","exclusiveMinimum":0,"maximum":1000},"distance_unit":{"type":"string","enum":["mile","kilometer"]}},"required":["key"],"additionalProperties":false}},"zips":{"minItems":1,"maxItems":250,"type":"array","items":{"type":"object","properties":{"key":{"anyOf":[{"type":"string","minLength":1,"maxLength":256},{"type":"integer","minimum":0,"maximum":9007199254740991}]}},"required":["key"],"additionalProperties":false}},"location_types":{"minItems":1,"maxItems":2,"type":"array","items":{"type":"string","enum":["home","recent"]}}},"additionalProperties":false}},"additionalProperties":false},"child_attachments":{"minItems":2,"maxItems":10,"type":"array","items":{"type":"object","properties":{"link":{"type":"string","format":"uri"},"name":{"type":"string","maxLength":255},"description":{"type":"string","maxLength":1000},"picture":{"type":"string","format":"uri"}},"required":["link","picture"],"additionalProperties":false}},"multi_share_end_card":{"type":"boolean"},"multi_share_optimized":{"type":"boolean"},"unpublished_content_type":{"type":"string","enum":["SCHEDULED","SCHEDULED_RECURRING","DRAFT","PUBLISH_PENDING","ADS_POST","INLINE_CREATED","PUBLISHED","REVIEWABLE_BRANDED_CONTENT"]},"no_story":{"type":"boolean"},"crossposted_video_id":{"type":"string","minLength":1,"maxLength":256},"spherical":{"type":"boolean"},"media_options":{"maxItems":20,"type":"array","items":{"type":"object","properties":{"asset_id":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},"alt_text_custom":{"type":"string","minLength":1,"maxLength":1000}},"required":["asset_id"],"additionalProperties":false}}},"required":["post_type"],"additionalProperties":false}},"required":["platform"],"additionalProperties":false},{"type":"object","properties":{"platform":{"type":"string","const":"threads"},"publish_options":{"type":"object","properties":{"post_type":{"type":"string","enum":["TEXT","IMAGE","VIDEO","CAROUSEL","REPOST"]},"reply_to_id":{"type":"string","minLength":1,"maxLength":256},"quote_post_id":{"type":"string","minLength":1,"maxLength":256},"repost_target_id":{"type":"string","minLength":1,"maxLength":256},"reply_control":{"type":"string","enum":["everyone","accounts_you_follow","mentioned_only","parent_post_author_only","followers_only"]},"enable_reply_approvals":{"type":"boolean"},"link_attachment":{"type":"string","format":"uri"},"poll_attachment":{"type":"object","properties":{"option_a":{"type":"string","minLength":1,"maxLength":25},"option_b":{"type":"string","minLength":1,"maxLength":25},"option_c":{"type":"string","minLength":1,"maxLength":25},"option_d":{"type":"string","minLength":1,"maxLength":25}},"required":["option_a","option_b"],"additionalProperties":false},"gif_attachment":{"type":"object","properties":{"gif_id":{"type":"string","minLength":1,"maxLength":256},"provider":{"type":"string","const":"GIPHY"}},"required":["gif_id","provider"],"additionalProperties":false},"text_attachment":{"type":"object","properties":{"plaintext":{"type":"string","minLength":1,"maxLength":10000},"link_attachment_url":{"type":"string","format":"uri"},"text_with_styling_info":{"maxItems":100,"type":"array","items":{"type":"object","properties":{"offset":{"type":"integer","minimum":0,"maximum":9007199254740991},"length":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},"styling_info":{"minItems":1,"type":"array","items":{"type":"string","enum":["bold","italic","highlight","underline","strikethrough"]}}},"required":["offset","length","styling_info"],"additionalProperties":false}}},"required":["plaintext"],"additionalProperties":false},"topic_tag":{"type":"string","minLength":1,"maxLength":50},"text_entities":{"maxItems":10,"type":"array","items":{"type":"object","properties":{"entity_type":{"type":"string","enum":["SPOILER","spoiler"]},"offset":{"type":"integer","minimum":0,"maximum":9007199254740991},"length":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991}},"required":["entity_type","offset","length"],"additionalProperties":false}},"is_spoiler_media":{"type":"boolean"},"is_ghost_post":{"type":"boolean"},"location_id":{"type":"string","minLength":1,"maxLength":256},"allowlisted_country_codes":{"minItems":1,"maxItems":249,"type":"array","items":{"type":"string","pattern":"^[A-Z]{2}$"}},"crossreshare_to_ig":{"type":"boolean"},"crossreshare_to_ig_dark_mode":{"type":"boolean"},"auto_publish_text":{"type":"boolean"},"media_options":{"maxItems":20,"type":"array","items":{"type":"object","properties":{"asset_id":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},"alt_text":{"type":"string","minLength":1,"maxLength":1000},"is_spoiler_media":{"type":"boolean"}},"required":["asset_id"],"additionalProperties":false}}},"required":["post_type"],"additionalProperties":false}},"required":["platform"],"additionalProperties":false},{"type":"object","properties":{"platform":{"type":"string","const":"youtube"},"publish_options":{"type":"object","properties":{"post_type":{"type":"string","const":"VIDEO"},"title":{"type":"string","minLength":1,"maxLength":100},"description":{"type":"string","maxLength":5000},"tags":{"maxItems":100,"type":"array","items":{"type":"string","minLength":1,"maxLength":500}},"category_id":{"anyOf":[{"type":"string","minLength":0,"maxLength":0},{"type":"string","pattern":"^\\d+$"}]},"default_language":{"type":"string","minLength":2,"maxLength":35},"localizations":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{"type":"object","properties":{"title":{"type":"string","minLength":1,"maxLength":100},"description":{"type":"string","maxLength":5000}},"required":["title","description"],"additionalProperties":false}},"privacy_status":{"type":"string","enum":["private","unlisted","public"]},"cancellation_mode":{"type":"string","enum":["DELETE","UNSCHEDULE_KEEP_PRIVATE"]},"license":{"type":"string","enum":["youtube","creativeCommon"]},"embeddable":{"type":"boolean"},"public_stats_viewable":{"type":"boolean"},"self_declared_made_for_kids":{"type":"boolean"},"contains_synthetic_media":{"type":"boolean"},"has_paid_product_placement":{"type":"boolean"},"recording_date":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},"notify_subscribers":{"type":"boolean"},"thumbnail_asset_id":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},"surface_expectation":{"type":"string","const":"SHORT"},"brand_partner":{"type":"object","properties":{"channel_id":{"type":"string","pattern":"^UC[A-Za-z0-9_-]+$"},"channel_handle":{"type":"string","pattern":"^@[A-Za-z0-9._-]+$"}},"additionalProperties":false}},"required":["post_type","title","privacy_status","cancellation_mode"],"additionalProperties":false}},"required":["platform"],"additionalProperties":false}]}},"required":["id","expected_version","patch"],"additionalProperties":false},"studio-api-scheduled-posts-update-response":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"post":{"type":"object","properties":{"id":{"type":"string","pattern":"^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$"},"workspace_id":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"social_account_id":{"anyOf":[{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},{"type":"null"}]},"platform":{"type":"string","enum":["instagram","threads","facebook","youtube","x"]},"destination":{"type":"object","properties":{"social_account_id":{"anyOf":[{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},{"type":"null"}]},"platform":{"type":"string","enum":["instagram","threads","facebook","youtube","x"]},"platform_user_id":{"anyOf":[{"type":"string"},{"type":"null"}]},"account_label":{"anyOf":[{"type":"string"},{"type":"null"}]}},"required":["social_account_id","platform","platform_user_id","account_label"]},"caption":{"anyOf":[{"type":"string"},{"type":"null"}]},"hashtags":{"type":"array","items":{"type":"string"}},"media":{"type":"array","items":{"type":"object","properties":{"kind":{"type":"string","enum":["image","video"]},"url":{"type":"string","format":"uri"},"cover_url":{"anyOf":[{"type":"string","format":"uri"},{"type":"null"}]},"cover_asset_id":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"null"}]},"asset_id":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"null"}]},"mime_type":{"anyOf":[{"type":"string","minLength":1,"maxLength":160},{"type":"null"}]},"preview_url":{"description":"Temporary authorized read URL; keep url as persisted Scheduled Post media identity.","anyOf":[{"type":"string","format":"uri"},{"type":"null"}]},"cover_preview_url":{"description":"Temporary authorized cover read URL; keep cover_url as persisted media identity.","anyOf":[{"type":"string","format":"uri"},{"type":"null"}]},"preview_expires_at":{"anyOf":[{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z))$"},{"type":"null"}]}},"required":["kind","url"]}},"link_url":{"anyOf":[{"type":"string","format":"uri"},{"type":"null"}]},"publish_options":{"type":"object","properties":{"post_type":{"type":"string","enum":["TEXT","LINK","IMAGE","MULTI_IMAGE","VIDEO","CAROUSEL","REELS","STORY_IMAGE","STORY_VIDEO","REPOST","SHORT"]},"location_id":{"type":"string","minLength":1},"share_to_feed":{"type":"boolean"},"collaborators":{"maxItems":3,"type":"array","items":{"type":"string","minLength":1}},"first_comment":{"type":"string","minLength":1,"maxLength":2200},"topic_tag":{"type":"string","minLength":1},"thumb_offset_ms":{"type":"integer","minimum":0,"maximum":9007199254740991},"title":{"type":"string","maxLength":255},"youtube_privacy_status":{"type":"string","enum":["private","unlisted","public"]},"youtube_category_id":{"type":"string","pattern":"^\\d+$"},"youtube_contains_synthetic_media":{"type":"boolean"},"description":{"type":"string","maxLength":5000},"category_id":{"type":"string","pattern":"^\\d+$"},"privacy_status":{"type":"string","enum":["private","unlisted","public"]},"cancellation_mode":{"type":"string","enum":["DELETE","UNSCHEDULE_KEEP_PRIVATE"]},"tags":{"type":"array","items":{"type":"string"}},"default_language":{"type":"string"},"localizations":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{}},"license":{"type":"string","enum":["youtube","creativeCommon"]},"embeddable":{"type":"boolean"},"public_stats_viewable":{"type":"boolean"},"self_declared_made_for_kids":{"type":"boolean"},"contains_synthetic_media":{"type":"boolean"},"has_paid_product_placement":{"type":"boolean"},"recording_date":{"type":"string"},"notify_subscribers":{"type":"boolean"},"thumbnail_asset_id":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},"surface_expectation":{"type":"string","const":"SHORT"},"brand_partner":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{}},"cover_asset_id":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},"audio_name":{"type":"string"},"trial_params":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{}},"is_ai_generated":{"type":"boolean"},"branded_content_sponsor_ids":{"type":"array","items":{"type":"string"}},"is_paid_partnership":{"type":"boolean"},"media_options":{"type":"array","items":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{}}},"reply_to_id":{"type":"string"},"quote_post_id":{"type":"string"},"repost_target_id":{"type":"string"},"reply_control":{"type":"string"},"enable_reply_approvals":{"type":"boolean"},"link_attachment":{"type":"string","format":"uri"},"poll_attachment":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{}},"gif_attachment":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{}},"text_attachment":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{}},"text_entities":{"type":"array","items":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{}}},"is_spoiler_media":{"type":"boolean"},"is_ghost_post":{"type":"boolean"},"allowlisted_country_codes":{"type":"array","items":{"type":"string"}},"crossreshare_to_ig":{"type":"boolean"},"crossreshare_to_ig_dark_mode":{"type":"boolean"},"auto_publish_text":{"type":"boolean"},"publication_mode":{"type":"string","enum":["PUBLISH","DRAFT"]},"backdated_time":{"type":"number"},"backdated_time_granularity":{"type":"string","enum":["year","month","day","hour","minute"]},"place":{"type":"string"},"feed_targeting":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{}},"targeting":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{}},"child_attachments":{"type":"array","items":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{}}},"multi_share_end_card":{"type":"boolean"},"multi_share_optimized":{"type":"boolean"},"unpublished_content_type":{"type":"string"},"no_story":{"type":"boolean"},"crossposted_video_id":{"type":"string"},"spherical":{"type":"boolean"}}},"scheduled_at":{"type":"string"},"display_timezone":{"type":"string","minLength":1,"maxLength":80},"local_scheduled_at":{"anyOf":[{"type":"string","pattern":"^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}(?::\\d{2}(?:\\.\\d{1,6})?)?$"},{"type":"null"}]},"schedule_timezone":{"anyOf":[{"type":"string","minLength":1,"maxLength":80},{"type":"null"}]},"schedule_dst_disambiguation":{"anyOf":[{"type":"string","enum":["exact","earlier","later"]},{"type":"null"}]},"schedule_intent_state":{"type":"string","enum":["verified","legacy_unverified"]},"expires_at":{"anyOf":[{"type":"string"},{"type":"null"}]},"status":{"type":"string","enum":["scheduled","publishing","published","failed","expired","needs_reschedule","cancelled","deleted"]},"version":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},"automatic_retry_enabled":{"type":"boolean"},"delete_requested_at":{"anyOf":[{"type":"string"},{"type":"null"}]},"published_at":{"anyOf":[{"type":"string"},{"type":"null"}]},"deleted_at":{"anyOf":[{"type":"string"},{"type":"null"}]},"provider_post_id":{"anyOf":[{"type":"string"},{"type":"null"}]},"permalink":{"anyOf":[{"type":"string","format":"uri"},{"type":"null"}]},"created_at":{"type":"string"},"updated_at":{"type":"string"},"project_id":{"anyOf":[{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},{"type":"null"}]},"batch_id":{"anyOf":[{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},{"type":"null"}]},"source_ref":{"anyOf":[{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{}},{"type":"null"}]}},"required":["id","workspace_id","social_account_id","platform","destination","caption","hashtags","media","publish_options","scheduled_at","display_timezone","expires_at","status","version","automatic_retry_enabled","delete_requested_at","published_at","deleted_at","provider_post_id","permalink","created_at","updated_at","project_id","batch_id","source_ref"]}},"required":["post"]},"studio-api-scheduled-posts-withdraw-delete-request":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"id":{"type":"string","pattern":"^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$"},"expected_version":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991}},"required":["id","expected_version"],"additionalProperties":false},"studio-api-scheduled-posts-withdraw-delete-response":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"post":{"type":"object","properties":{"id":{"type":"string","pattern":"^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$"},"workspace_id":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"social_account_id":{"anyOf":[{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},{"type":"null"}]},"platform":{"type":"string","enum":["instagram","threads","facebook","youtube","x"]},"destination":{"type":"object","properties":{"social_account_id":{"anyOf":[{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},{"type":"null"}]},"platform":{"type":"string","enum":["instagram","threads","facebook","youtube","x"]},"platform_user_id":{"anyOf":[{"type":"string"},{"type":"null"}]},"account_label":{"anyOf":[{"type":"string"},{"type":"null"}]}},"required":["social_account_id","platform","platform_user_id","account_label"]},"caption":{"anyOf":[{"type":"string"},{"type":"null"}]},"hashtags":{"type":"array","items":{"type":"string"}},"media":{"type":"array","items":{"type":"object","properties":{"kind":{"type":"string","enum":["image","video"]},"url":{"type":"string","format":"uri"},"cover_url":{"anyOf":[{"type":"string","format":"uri"},{"type":"null"}]},"cover_asset_id":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"null"}]},"asset_id":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"null"}]},"mime_type":{"anyOf":[{"type":"string","minLength":1,"maxLength":160},{"type":"null"}]},"preview_url":{"description":"Temporary authorized read URL; keep url as persisted Scheduled Post media identity.","anyOf":[{"type":"string","format":"uri"},{"type":"null"}]},"cover_preview_url":{"description":"Temporary authorized cover read URL; keep cover_url as persisted media identity.","anyOf":[{"type":"string","format":"uri"},{"type":"null"}]},"preview_expires_at":{"anyOf":[{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z))$"},{"type":"null"}]}},"required":["kind","url"]}},"link_url":{"anyOf":[{"type":"string","format":"uri"},{"type":"null"}]},"publish_options":{"type":"object","properties":{"post_type":{"type":"string","enum":["TEXT","LINK","IMAGE","MULTI_IMAGE","VIDEO","CAROUSEL","REELS","STORY_IMAGE","STORY_VIDEO","REPOST","SHORT"]},"location_id":{"type":"string","minLength":1},"share_to_feed":{"type":"boolean"},"collaborators":{"maxItems":3,"type":"array","items":{"type":"string","minLength":1}},"first_comment":{"type":"string","minLength":1,"maxLength":2200},"topic_tag":{"type":"string","minLength":1},"thumb_offset_ms":{"type":"integer","minimum":0,"maximum":9007199254740991},"title":{"type":"string","maxLength":255},"youtube_privacy_status":{"type":"string","enum":["private","unlisted","public"]},"youtube_category_id":{"type":"string","pattern":"^\\d+$"},"youtube_contains_synthetic_media":{"type":"boolean"},"description":{"type":"string","maxLength":5000},"category_id":{"type":"string","pattern":"^\\d+$"},"privacy_status":{"type":"string","enum":["private","unlisted","public"]},"cancellation_mode":{"type":"string","enum":["DELETE","UNSCHEDULE_KEEP_PRIVATE"]},"tags":{"type":"array","items":{"type":"string"}},"default_language":{"type":"string"},"localizations":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{}},"license":{"type":"string","enum":["youtube","creativeCommon"]},"embeddable":{"type":"boolean"},"public_stats_viewable":{"type":"boolean"},"self_declared_made_for_kids":{"type":"boolean"},"contains_synthetic_media":{"type":"boolean"},"has_paid_product_placement":{"type":"boolean"},"recording_date":{"type":"string"},"notify_subscribers":{"type":"boolean"},"thumbnail_asset_id":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},"surface_expectation":{"type":"string","const":"SHORT"},"brand_partner":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{}},"cover_asset_id":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},"audio_name":{"type":"string"},"trial_params":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{}},"is_ai_generated":{"type":"boolean"},"branded_content_sponsor_ids":{"type":"array","items":{"type":"string"}},"is_paid_partnership":{"type":"boolean"},"media_options":{"type":"array","items":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{}}},"reply_to_id":{"type":"string"},"quote_post_id":{"type":"string"},"repost_target_id":{"type":"string"},"reply_control":{"type":"string"},"enable_reply_approvals":{"type":"boolean"},"link_attachment":{"type":"string","format":"uri"},"poll_attachment":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{}},"gif_attachment":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{}},"text_attachment":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{}},"text_entities":{"type":"array","items":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{}}},"is_spoiler_media":{"type":"boolean"},"is_ghost_post":{"type":"boolean"},"allowlisted_country_codes":{"type":"array","items":{"type":"string"}},"crossreshare_to_ig":{"type":"boolean"},"crossreshare_to_ig_dark_mode":{"type":"boolean"},"auto_publish_text":{"type":"boolean"},"publication_mode":{"type":"string","enum":["PUBLISH","DRAFT"]},"backdated_time":{"type":"number"},"backdated_time_granularity":{"type":"string","enum":["year","month","day","hour","minute"]},"place":{"type":"string"},"feed_targeting":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{}},"targeting":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{}},"child_attachments":{"type":"array","items":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{}}},"multi_share_end_card":{"type":"boolean"},"multi_share_optimized":{"type":"boolean"},"unpublished_content_type":{"type":"string"},"no_story":{"type":"boolean"},"crossposted_video_id":{"type":"string"},"spherical":{"type":"boolean"}}},"scheduled_at":{"type":"string"},"display_timezone":{"type":"string","minLength":1,"maxLength":80},"local_scheduled_at":{"anyOf":[{"type":"string","pattern":"^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}(?::\\d{2}(?:\\.\\d{1,6})?)?$"},{"type":"null"}]},"schedule_timezone":{"anyOf":[{"type":"string","minLength":1,"maxLength":80},{"type":"null"}]},"schedule_dst_disambiguation":{"anyOf":[{"type":"string","enum":["exact","earlier","later"]},{"type":"null"}]},"schedule_intent_state":{"type":"string","enum":["verified","legacy_unverified"]},"expires_at":{"anyOf":[{"type":"string"},{"type":"null"}]},"status":{"type":"string","enum":["scheduled","publishing","published","failed","expired","needs_reschedule","cancelled","deleted"]},"version":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},"automatic_retry_enabled":{"type":"boolean"},"delete_requested_at":{"anyOf":[{"type":"string"},{"type":"null"}]},"published_at":{"anyOf":[{"type":"string"},{"type":"null"}]},"deleted_at":{"anyOf":[{"type":"string"},{"type":"null"}]},"provider_post_id":{"anyOf":[{"type":"string"},{"type":"null"}]},"permalink":{"anyOf":[{"type":"string","format":"uri"},{"type":"null"}]},"created_at":{"type":"string"},"updated_at":{"type":"string"},"project_id":{"anyOf":[{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},{"type":"null"}]},"batch_id":{"anyOf":[{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},{"type":"null"}]},"source_ref":{"anyOf":[{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{}},{"type":"null"}]}},"required":["id","workspace_id","social_account_id","platform","destination","caption","hashtags","media","publish_options","scheduled_at","display_timezone","expires_at","status","version","automatic_retry_enabled","delete_requested_at","published_at","deleted_at","provider_post_id","permalink","created_at","updated_at","project_id","batch_id","source_ref"]}},"required":["post"]},"studio-api-x-usage-request":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"workspace_id":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"text":{"type":"string","maxLength":4096}},"required":["workspace_id"],"additionalProperties":false},"studio-api-x-usage-response":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"workspace_id":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"plan":{"type":"string","enum":["free","founding_pro"]},"allowance":{"type":"string","enum":["one_time","monthly"]},"period_start":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},"period_end":{"anyOf":[{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},{"type":"null"}]},"limit":{"anyOf":[{"type":"number","const":10},{"type":"number","const":100}]},"reserved":{"type":"integer","minimum":0,"maximum":9007199254740991},"consumed":{"type":"integer","minimum":0,"maximum":9007199254740991},"remaining":{"type":"integer","minimum":0,"maximum":9007199254740991},"costs":{"type":"object","properties":{"text":{"type":"number","const":1},"with_url":{"type":"number","const":10}},"required":["text","with_url"]},"draft_credits":{"anyOf":[{"type":"number","const":1},{"type":"number","const":10}]}},"required":["workspace_id","plan","allowance","period_start","period_end","limit","reserved","consumed","remaining","costs"]}}}}