يُحمّل البحث عند استخدامه فقط. تصفّح جميع الفئات أدناه.

أداة MCP

جلب حقائق فوترة المؤسسة

sosoapi_get_organization_billing

قراءة الخطة الفعلية للمؤسسة والأسعار المستمدة من الفواتير والتغييرات المعلّقة، ضمن مساحة العمل المحددة وبصلاحية مالك المؤسسة الحالي. لا يمكن بهذه القراءة المطالبة بعرض أو تغيير الفوترة.

اقرأ بصيغة Markdown

الملفات التعريفية ووسائل النقل

الملفات التعريفية: full · وسائل النقل: stdio, http

اختر core أو full للأدوات التي يراها عميلك؛ لا يغيّر ذلك أذوناته. يحتاج رفع الملفات المحلية stdio ولا يتاح بـ HTTP. اضبط SOSOAPI_OUTPUT_SCHEMAS=1 لمخططات المخرجات بالاكتشاف. النتائج منظّمة بهذا الإعداد أوبدونه.

الأذونات والآثار الجانبية

تساعد الشروح العملاء على وصف الأداة. يظل كل استدعاء يفحص مصادقة المستخدم ودوره ووصوله إلى المورد وتفويض الإمكانات.

{
  "readOnlyHint": true,
  "destructiveHint": false,
  "idempotentHint": true,
  "openWorldHint": false
}

حقول الإدخال

تعني «مطلوب» داخل الكائن الأب والفرع المختار. الحقل الابن المطلوب لا يجعل الأب الاختياري مطلوباً. نُسخت القواعد وأسماء الحقول أدناه من العقد.

حقول الإدخال
الحقل / الفرعالنوع / مطلوبالقيود
$objectمطلوب في العنصر الأب
  • additionalProperties: false
workspace_idstringمطلوب في العنصر الأب
  • format: "uuid"
مخطط JSON Schema الكامل
{
  "type": "object",
  "properties": {
    "workspace_id": {
      "type": "string",
      "format": "uuid"
    }
  },
  "required": [
    "workspace_id"
  ],
  "additionalProperties": false
}

مخرجات منظّمة

يصف المخطط structuredContent في نتيجة أداة ناجحة. تشمل استجابة MCP أيضاً content وقد تضبط isError عند الفشل. للنشر، اقرأ النتيجة النهائية بدلاً من اعتبار القبول أوالنص تأكيداً. تشرح عملية API المرتبطة الأذونات وقواعد المحاولة.

تعني «مطلوب» داخل الكائن الأب والفرع المختار. الحقل الابن المطلوب لا يجعل الأب الاختياري مطلوباً. نُسخت القواعد وأسماء الحقول أدناه من العقد.

مخرجات منظّمة
الحقل / الفرعالنوع / مطلوبالقيود
$objectمطلوب في العنصر الأب
  • additionalProperties: false
contract_versionstringمطلوب في العنصر الأب
  • const: "organization-commercial-billing/v1"
workspace_idstringمطلوب في العنصر الأب
  • format: "uuid"
organization_idstringمطلوب في العنصر الأب
  • format: "uuid"
planstringمطلوب في العنصر الأب
  • enum: ["free","founding_pro","pro","team"]
plan_limitsobjectمطلوب في العنصر الأب—
plan_limitsoneOf 1objectمطلوب في العنصر الأب
  • additionalProperties: false
plan_limits.planoneOf 1stringمطلوب في العنصر الأب
  • const: "free"
plan_limits.included_human_seatsoneOf 1number | nullمطلوب في العنصر الأب—
plan_limits.included_human_seatsoneOf 1 / anyOf 1numberمطلوب في العنصر الأب
  • const: 1
plan_limits.included_human_seatsoneOf 1 / anyOf 2nullمطلوب في العنصر الأب—
plan_limits.connected_channel_limitoneOf 1numberمطلوب في العنصر الأب
  • const: 3
plan_limits.successful_destination_publishes_limitoneOf 1number | nullمطلوب في العنصر الأب—
plan_limits.successful_destination_publishes_limitoneOf 1 / anyOf 1numberمطلوب في العنصر الأب
  • const: 100
plan_limits.successful_destination_publishes_limitoneOf 1 / anyOf 2nullمطلوب في العنصر الأب—
plan_limits.pending_scheduled_posts_limitoneOf 1numberمطلوب في العنصر الأب
  • const: 30
plan_limits.history_daysoneOf 1numberمطلوب في العنصر الأب
  • const: 30
plan_limits.stripe_quantityoneOf 1numberمطلوب في العنصر الأب
  • const: 0
plan_limitsoneOf 2objectمطلوب في العنصر الأب
  • additionalProperties: false
plan_limits.planoneOf 2stringمطلوب في العنصر الأب
  • const: "founding_pro"
plan_limits.included_human_seatsoneOf 2number | nullمطلوب في العنصر الأب—
plan_limits.included_human_seatsoneOf 2 / anyOf 1numberمطلوب في العنصر الأب
  • const: 5
plan_limits.included_human_seatsoneOf 2 / anyOf 2nullمطلوب في العنصر الأب—
plan_limits.connected_channel_limitoneOf 2numberمطلوب في العنصر الأب—
plan_limits.connected_channel_limitoneOf 2 / anyOf 1numberمطلوب في العنصر الأب
  • const: 10
plan_limits.connected_channel_limitoneOf 2 / anyOf 2numberمطلوب في العنصر الأب
  • const: 20
plan_limits.successful_destination_publishes_limitoneOf 2number | nullمطلوب في العنصر الأب—
plan_limits.successful_destination_publishes_limitoneOf 2 / anyOf 1numberمطلوب في العنصر الأب
  • const: 1000
plan_limits.successful_destination_publishes_limitoneOf 2 / anyOf 2nullمطلوب في العنصر الأب—
plan_limits.pending_scheduled_posts_limitoneOf 2numberمطلوب في العنصر الأب
  • const: 300
plan_limits.history_daysoneOf 2numberمطلوب في العنصر الأب
  • const: 365
plan_limits.stripe_quantityoneOf 2numberمطلوب في العنصر الأب
  • const: 1
plan_limitsoneOf 3objectمطلوب في العنصر الأب
  • additionalProperties: false
plan_limits.planoneOf 3stringمطلوب في العنصر الأب
  • const: "pro"
plan_limits.included_human_seatsoneOf 3nullمطلوب في العنصر الأب—
plan_limits.connected_channel_limitoneOf 3numberمطلوب في العنصر الأب
  • const: 10
plan_limits.successful_destination_publishes_limitoneOf 3nullمطلوب في العنصر الأب—
plan_limits.unlimited_publishing_platformsoneOf 3arrayمطلوب في العنصر الأب
  • minItems: 4
  • maxItems: 4
plan_limits.unlimited_publishing_platforms[]oneOf 3any JSON valueاختياري / عنصر—
plan_limits.pending_scheduled_posts_limitoneOf 3numberمطلوب في العنصر الأب
  • const: 300
plan_limits.history_daysoneOf 3numberمطلوب في العنصر الأب
  • const: 365
plan_limits.stripe_quantityoneOf 3numberمطلوب في العنصر الأب
  • const: 1
plan_limitsoneOf 4objectمطلوب في العنصر الأب
  • additionalProperties: false
plan_limits.planoneOf 4stringمطلوب في العنصر الأب
  • const: "team"
plan_limits.included_human_seatsoneOf 4nullمطلوب في العنصر الأب—
plan_limits.connected_channel_limitoneOf 4numberمطلوب في العنصر الأب
  • const: 20
plan_limits.successful_destination_publishes_limitoneOf 4nullمطلوب في العنصر الأب—
plan_limits.unlimited_publishing_platformsoneOf 4arrayمطلوب في العنصر الأب
  • minItems: 4
  • maxItems: 4
plan_limits.unlimited_publishing_platforms[]oneOf 4any JSON valueاختياري / عنصر—
plan_limits.pending_scheduled_posts_limitoneOf 4numberمطلوب في العنصر الأب
  • const: 300
plan_limits.history_daysoneOf 4numberمطلوب في العنصر الأب
  • const: 365
plan_limits.stripe_quantityoneOf 4numberمطلوب في العنصر الأب
  • const: 1
pricingobjectمطلوب في العنصر الأب—
pricingoneOf 1objectمطلوب في العنصر الأب—
pricingoneOf 1 / oneOf 1objectمطلوب في العنصر الأب
  • additionalProperties: false
pricing.statusoneOf 1 / oneOf 1stringمطلوب في العنصر الأب
  • const: "available"
pricing.source_kindoneOf 1 / oneOf 1stringمطلوب في العنصر الأب
  • const: "standard"
pricing.authorityoneOf 1 / oneOf 1stringمطلوب في العنصر الأب
  • const: "default_free"
pricing.planoneOf 1 / oneOf 1stringمطلوب في العنصر الأب
  • const: "free"
pricing.plan_versiononeOf 1 / oneOf 1numberمطلوب في العنصر الأب—
pricing.plan_versiononeOf 1 / oneOf 1 / anyOf 1numberمطلوب في العنصر الأب
  • const: 1
pricing.plan_versiononeOf 1 / oneOf 1 / anyOf 2numberمطلوب في العنصر الأب
  • const: 2
pricing.currencyoneOf 1 / oneOf 1stringمطلوب في العنصر الأب
  • const: "usd"
pricing.interval_unitoneOf 1 / oneOf 1stringمطلوب في العنصر الأب
  • const: "month"
pricing.monthly_amount_centsoneOf 1 / oneOf 1numberمطلوب في العنصر الأب
  • const: 0
pricingoneOf 1 / oneOf 2objectمطلوب في العنصر الأب
  • additionalProperties: false
pricing.statusoneOf 1 / oneOf 2stringمطلوب في العنصر الأب
  • const: "available"
pricing.source_kindoneOf 1 / oneOf 2stringمطلوب في العنصر الأب
  • const: "standard"
pricing.authorityoneOf 1 / oneOf 2stringمطلوب في العنصر الأب
  • const: "verified_invoice"
pricing.planoneOf 1 / oneOf 2stringمطلوب في العنصر الأب
  • const: "pro"
pricing.plan_versiononeOf 1 / oneOf 2numberمطلوب في العنصر الأب
  • const: 1
pricing.currencyoneOf 1 / oneOf 2stringمطلوب في العنصر الأب
  • const: "usd"
pricing.interval_unitoneOf 1 / oneOf 2stringمطلوب في العنصر الأب
  • const: "month"
pricing.monthly_amount_centsoneOf 1 / oneOf 2numberمطلوب في العنصر الأب
  • const: 4000
pricing.verified_periodoneOf 1 / oneOf 2objectمطلوب في العنصر الأب
  • additionalProperties: false
pricing.verified_period.period_startoneOf 1 / oneOf 2stringمطلوب في العنصر الأب
  • 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)))$"
pricing.verified_period.period_endoneOf 1 / oneOf 2stringمطلوب في العنصر الأب
  • 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)))$"
pricingoneOf 1 / oneOf 3objectمطلوب في العنصر الأب
  • additionalProperties: false
pricing.statusoneOf 1 / oneOf 3stringمطلوب في العنصر الأب
  • const: "available"
pricing.source_kindoneOf 1 / oneOf 3stringمطلوب في العنصر الأب
  • const: "standard"
pricing.authorityoneOf 1 / oneOf 3stringمطلوب في العنصر الأب
  • const: "verified_invoice"
pricing.planoneOf 1 / oneOf 3stringمطلوب في العنصر الأب
  • const: "team"
pricing.plan_versiononeOf 1 / oneOf 3numberمطلوب في العنصر الأب
  • const: 1
pricing.currencyoneOf 1 / oneOf 3stringمطلوب في العنصر الأب
  • const: "usd"
pricing.interval_unitoneOf 1 / oneOf 3stringمطلوب في العنصر الأب
  • const: "month"
pricing.monthly_amount_centsoneOf 1 / oneOf 3numberمطلوب في العنصر الأب
  • const: 8000
pricing.verified_periodoneOf 1 / oneOf 3objectمطلوب في العنصر الأب
  • additionalProperties: false
pricing.verified_period.period_startoneOf 1 / oneOf 3stringمطلوب في العنصر الأب
  • 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)))$"
pricing.verified_period.period_endoneOf 1 / oneOf 3stringمطلوب في العنصر الأب
  • 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)))$"
pricingoneOf 2objectمطلوب في العنصر الأب—
pricingoneOf 2 / oneOf 1objectمطلوب في العنصر الأب
  • additionalProperties: false
pricing.statusoneOf 2 / oneOf 1stringمطلوب في العنصر الأب
  • const: "available"
pricing.source_kindoneOf 2 / oneOf 1stringمطلوب في العنصر الأب
  • const: "promotional"
pricing.authorityoneOf 2 / oneOf 1stringمطلوب في العنصر الأب
  • const: "verified_invoice"
pricing.planoneOf 2 / oneOf 1stringمطلوب في العنصر الأب
  • const: "pro"
pricing.plan_versiononeOf 2 / oneOf 1numberمطلوب في العنصر الأب
  • const: 2
pricing.currencyoneOf 2 / oneOf 1stringمطلوب في العنصر الأب
  • const: "usd"
pricing.interval_unitoneOf 2 / oneOf 1stringمطلوب في العنصر الأب
  • const: "month"
pricing.monthly_amount_centsoneOf 2 / oneOf 1numberمطلوب في العنصر الأب
  • const: 1900
pricing.verified_periodoneOf 2 / oneOf 1objectمطلوب في العنصر الأب
  • additionalProperties: false
pricing.verified_period.period_startoneOf 2 / oneOf 1stringمطلوب في العنصر الأب
  • 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)))$"
pricing.verified_period.period_endoneOf 2 / oneOf 1stringمطلوب في العنصر الأب
  • 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)))$"
pricingoneOf 2 / oneOf 2objectمطلوب في العنصر الأب
  • additionalProperties: false
pricing.statusoneOf 2 / oneOf 2stringمطلوب في العنصر الأب
  • const: "available"
pricing.source_kindoneOf 2 / oneOf 2stringمطلوب في العنصر الأب
  • const: "promotional"
pricing.authorityoneOf 2 / oneOf 2stringمطلوب في العنصر الأب
  • const: "verified_invoice"
pricing.planoneOf 2 / oneOf 2stringمطلوب في العنصر الأب
  • const: "team"
pricing.plan_versiononeOf 2 / oneOf 2numberمطلوب في العنصر الأب
  • const: 2
pricing.currencyoneOf 2 / oneOf 2stringمطلوب في العنصر الأب
  • const: "usd"
pricing.interval_unitoneOf 2 / oneOf 2stringمطلوب في العنصر الأب
  • const: "month"
pricing.monthly_amount_centsoneOf 2 / oneOf 2numberمطلوب في العنصر الأب
  • const: 3900
pricing.verified_periodoneOf 2 / oneOf 2objectمطلوب في العنصر الأب
  • additionalProperties: false
pricing.verified_period.period_startoneOf 2 / oneOf 2stringمطلوب في العنصر الأب
  • 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)))$"
pricing.verified_period.period_endoneOf 2 / oneOf 2stringمطلوب في العنصر الأب
  • 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)))$"
pricingoneOf 3objectمطلوب في العنصر الأب—
pricingoneOf 3 / oneOf 1objectمطلوب في العنصر الأب
  • additionalProperties: false
pricing.statusoneOf 3 / oneOf 1stringمطلوب في العنصر الأب
  • const: "available"
pricing.source_kindoneOf 3 / oneOf 1stringمطلوب في العنصر الأب
  • const: "legacy"
pricing.planoneOf 3 / oneOf 1stringمطلوب في العنصر الأب
  • const: "founding_pro"
pricing.plan_versiononeOf 3 / oneOf 1integerمطلوب في العنصر الأب
  • maximum: 2147483647
  • exclusiveMinimum: 0
pricing.currencyoneOf 3 / oneOf 1stringمطلوب في العنصر الأب
  • const: "usd"
pricing.interval_unitoneOf 3 / oneOf 1stringمطلوب في العنصر الأب
  • const: "month"
pricing.monthly_amount_centsoneOf 3 / oneOf 1integerمطلوب في العنصر الأب
  • minimum: 0
  • maximum: 2147483647
pricing.authorityoneOf 3 / oneOf 1stringمطلوب في العنصر الأب
  • const: "legacy_commitment"
pricingoneOf 3 / oneOf 2objectمطلوب في العنصر الأب
  • additionalProperties: false
pricing.statusoneOf 3 / oneOf 2stringمطلوب في العنصر الأب
  • const: "available"
pricing.source_kindoneOf 3 / oneOf 2stringمطلوب في العنصر الأب
  • const: "legacy"
pricing.planoneOf 3 / oneOf 2stringمطلوب في العنصر الأب
  • const: "founding_pro"
pricing.plan_versiononeOf 3 / oneOf 2integerمطلوب في العنصر الأب
  • maximum: 2147483647
  • exclusiveMinimum: 0
pricing.currencyoneOf 3 / oneOf 2stringمطلوب في العنصر الأب
  • const: "usd"
pricing.interval_unitoneOf 3 / oneOf 2stringمطلوب في العنصر الأب
  • const: "month"
pricing.monthly_amount_centsoneOf 3 / oneOf 2integerمطلوب في العنصر الأب
  • minimum: 0
  • maximum: 2147483647
pricing.authorityoneOf 3 / oneOf 2stringمطلوب في العنصر الأب
  • const: "verified_invoice"
pricing.verified_periodoneOf 3 / oneOf 2objectمطلوب في العنصر الأب
  • additionalProperties: false
pricing.verified_period.period_startoneOf 3 / oneOf 2stringمطلوب في العنصر الأب
  • 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)))$"
pricing.verified_period.period_endoneOf 3 / oneOf 2stringمطلوب في العنصر الأب
  • 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)))$"
pricingoneOf 4objectمطلوب في العنصر الأب
  • additionalProperties: false
pricing.statusoneOf 4stringمطلوب في العنصر الأب
  • const: "unavailable"
pricing.source_kindoneOf 4stringمطلوب في العنصر الأب
  • const: "manual"
pricing.authorityoneOf 4stringمطلوب في العنصر الأب
  • const: "manual_grant"
pricing.planoneOf 4stringمطلوب في العنصر الأب
  • enum: ["free","founding_pro","pro","team"]
pricing.plan_versiononeOf 4integerمطلوب في العنصر الأب
  • maximum: 2147483647
  • exclusiveMinimum: 0
pricing.monthly_amount_centsoneOf 4nullمطلوب في العنصر الأب—
pricing.reason_codeoneOf 4stringمطلوب في العنصر الأب
  • const: "recurring_charge_not_observed"
pricingoneOf 5objectمطلوب في العنصر الأب
  • additionalProperties: false
pricing.statusoneOf 5stringمطلوب في العنصر الأب
  • const: "unavailable"
pricing.source_kindoneOf 5stringمطلوب في العنصر الأب
  • const: "unavailable"
pricing.authorityoneOf 5stringمطلوب في العنصر الأب
  • const: "not_observed"
pricing.planoneOf 5stringمطلوب في العنصر الأب
  • enum: ["free","founding_pro","pro","team"]
pricing.plan_versiononeOf 5integer | nullمطلوب في العنصر الأب—
pricing.plan_versiononeOf 5 / anyOf 1integerمطلوب في العنصر الأب
  • maximum: 2147483647
  • exclusiveMinimum: 0
pricing.plan_versiononeOf 5 / anyOf 2nullمطلوب في العنصر الأب—
pricing.monthly_amount_centsoneOf 5nullمطلوب في العنصر الأب—
pricing.reason_codeoneOf 5stringمطلوب في العنصر الأب
  • enum: ["current_period_proof_missing","pricing_authority_not_observed","catalog_binding_not_observed"]
purchase_optionsobjectمطلوب في العنصر الأب—
purchase_optionsoneOf 1objectمطلوب في العنصر الأب
  • additionalProperties: false
purchase_options.statusoneOf 1stringمطلوب في العنصر الأب
  • const: "unavailable"
purchase_options.reason_codeoneOf 1stringمطلوب في العنصر الأب
  • enum: ["checkout_disabled","catalog_unconfigured"]
purchase_optionsoneOf 2objectمطلوب في العنصر الأب
  • additionalProperties: false
purchase_options.statusoneOf 2stringمطلوب في العنصر الأب
  • const: "configured"
purchase_options.catalog_versiononeOf 2stringمطلوب في العنصر الأب
  • const: "organization-monthly-2026-10-24"
purchase_options.plansoneOf 2objectمطلوب في العنصر الأب
  • additionalProperties: false
purchase_options.plans.prooneOf 2objectمطلوب في العنصر الأب
  • additionalProperties: false
purchase_options.plans.pro.planoneOf 2stringمطلوب في العنصر الأب
  • const: "pro"
purchase_options.plans.pro.plan_versiononeOf 2numberمطلوب في العنصر الأب
  • const: 1
purchase_options.plans.pro.currencyoneOf 2stringمطلوب في العنصر الأب
  • const: "usd"
purchase_options.plans.pro.interval_unitoneOf 2stringمطلوب في العنصر الأب
  • const: "month"
purchase_options.plans.pro.monthly_amount_centsoneOf 2numberمطلوب في العنصر الأب
  • const: 4000
purchase_options.plans.teamoneOf 2objectمطلوب في العنصر الأب
  • additionalProperties: false
purchase_options.plans.team.planoneOf 2stringمطلوب في العنصر الأب
  • const: "team"
purchase_options.plans.team.plan_versiononeOf 2numberمطلوب في العنصر الأب
  • const: 1
purchase_options.plans.team.currencyoneOf 2stringمطلوب في العنصر الأب
  • const: "usd"
purchase_options.plans.team.interval_unitoneOf 2stringمطلوب في العنصر الأب
  • const: "month"
purchase_options.plans.team.monthly_amount_centsoneOf 2numberمطلوب في العنصر الأب
  • const: 8000
pending_changeobjectمطلوب في العنصر الأب—
pending_changeoneOf 1objectمطلوب في العنصر الأب
  • additionalProperties: false
pending_change.statusoneOf 1stringمطلوب في العنصر الأب
  • const: "not_observed"
pending_changeoneOf 2objectمطلوب في العنصر الأب
  • additionalProperties: false
pending_change.statusoneOf 2stringمطلوب في العنصر الأب
  • enum: ["scheduled","blocked_by_cancellation","terminated"]
pending_change.target_planoneOf 2stringمطلوب في العنصر الأب
  • enum: ["pro","team"]
pending_change.target_plan_versiononeOf 2numberمطلوب في العنصر الأب—
pending_change.target_plan_versiononeOf 2 / anyOf 1numberمطلوب في العنصر الأب
  • const: 1
pending_change.target_plan_versiononeOf 2 / anyOf 2numberمطلوب في العنصر الأب
  • const: 2
pending_change.source_kindoneOf 2stringمطلوب في العنصر الأب
  • enum: ["standard","promotional"]
pending_change.currencyoneOf 2stringمطلوب في العنصر الأب
  • const: "usd"
pending_change.interval_unitoneOf 2stringمطلوب في العنصر الأب
  • const: "month"
pending_change.monthly_amount_centsoneOf 2numberمطلوب في العنصر الأب—
pending_change.monthly_amount_centsoneOf 2 / anyOf 1numberمطلوب في العنصر الأب
  • const: 4000
pending_change.monthly_amount_centsoneOf 2 / anyOf 2numberمطلوب في العنصر الأب
  • const: 8000
pending_change.monthly_amount_centsoneOf 2 / anyOf 3numberمطلوب في العنصر الأب
  • const: 1900
pending_change.monthly_amount_centsoneOf 2 / anyOf 4numberمطلوب في العنصر الأب
  • const: 3900
pending_change.effective_atoneOf 2stringمطلوب في العنصر الأب
  • 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)))$"
pending_change.activationoneOf 2stringمطلوب في العنصر الأب
  • const: "next_paid_invoice"
pending_changeoneOf 3objectمطلوب في العنصر الأب
  • additionalProperties: false
pending_change.statusoneOf 3stringمطلوب في العنصر الأب
  • const: "unavailable"
pending_change.reason_codeoneOf 3stringمطلوب في العنصر الأب
  • const: "pending_change_authority_not_observed"
continuous_lockobjectمطلوب في العنصر الأب—
continuous_lockoneOf 1objectمطلوب في العنصر الأب
  • additionalProperties: false
continuous_lock.statusoneOf 1stringمطلوب في العنصر الأب
  • const: "not_observed"
continuous_lockoneOf 2objectمطلوب في العنصر الأب
  • additionalProperties: false
continuous_lock.statusoneOf 2stringمطلوب في العنصر الأب
  • const: "none"
continuous_lock.reason_codeoneOf 2stringمطلوب في العنصر الأب
  • const: "standard_subscription"
continuous_lockoneOf 3objectمطلوب في العنصر الأب
  • additionalProperties: false
continuous_lock.statusoneOf 3stringمطلوب في العنصر الأب
  • const: "active"
continuous_lock.source_kindoneOf 3stringمطلوب في العنصر الأب
  • const: "promotional"
continuous_lock.currencyoneOf 3stringمطلوب في العنصر الأب
  • const: "usd"
continuous_lock.interval_unitoneOf 3stringمطلوب في العنصر الأب
  • const: "month"
continuous_lock.pro_monthly_amount_centsoneOf 3numberمطلوب في العنصر الأب
  • const: 1900
continuous_lock.team_monthly_amount_centsoneOf 3numberمطلوب في العنصر الأب
  • const: 3900
continuous_lockoneOf 4objectمطلوب في العنصر الأب
  • additionalProperties: false
continuous_lock.statusoneOf 4stringمطلوب في العنصر الأب
  • const: "terminated"
continuous_lock.ended_atoneOf 4stringمطلوب في العنصر الأب
  • 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)))$"
continuous_lockoneOf 5objectمطلوب في العنصر الأب
  • additionalProperties: false
continuous_lock.statusoneOf 5stringمطلوب في العنصر الأب
  • const: "unavailable"
continuous_lock.reason_codeoneOf 5stringمطلوب في العنصر الأب
  • const: "commitment_authority_not_observed"
observed_atstringمطلوب في العنصر الأب
  • 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)))$"
مخطط JSON Schema الكامل
{
  "type": "object",
  "properties": {
    "contract_version": {
      "type": "string",
      "const": "organization-commercial-billing/v1"
    },
    "workspace_id": {
      "type": "string",
      "format": "uuid"
    },
    "organization_id": {
      "type": "string",
      "format": "uuid"
    },
    "plan": {
      "type": "string",
      "enum": [
        "free",
        "founding_pro",
        "pro",
        "team"
      ]
    },
    "plan_limits": {
      "oneOf": [
        {
          "type": "object",
          "properties": {
            "plan": {
              "type": "string",
              "const": "free"
            },
            "included_human_seats": {
              "anyOf": [
                {
                  "type": "number",
                  "const": 1
                },
                {
                  "type": "null"
                }
              ]
            },
            "connected_channel_limit": {
              "type": "number",
              "const": 3
            },
            "successful_destination_publishes_limit": {
              "anyOf": [
                {
                  "type": "number",
                  "const": 100
                },
                {
                  "type": "null"
                }
              ]
            },
            "pending_scheduled_posts_limit": {
              "type": "number",
              "const": 30
            },
            "history_days": {
              "type": "number",
              "const": 30
            },
            "stripe_quantity": {
              "type": "number",
              "const": 0
            }
          },
          "required": [
            "plan",
            "included_human_seats",
            "connected_channel_limit",
            "successful_destination_publishes_limit",
            "pending_scheduled_posts_limit",
            "history_days",
            "stripe_quantity"
          ],
          "additionalProperties": false
        },
        {
          "type": "object",
          "properties": {
            "plan": {
              "type": "string",
              "const": "founding_pro"
            },
            "included_human_seats": {
              "anyOf": [
                {
                  "type": "number",
                  "const": 5
                },
                {
                  "type": "null"
                }
              ]
            },
            "connected_channel_limit": {
              "anyOf": [
                {
                  "type": "number",
                  "const": 10
                },
                {
                  "type": "number",
                  "const": 20
                }
              ]
            },
            "successful_destination_publishes_limit": {
              "anyOf": [
                {
                  "type": "number",
                  "const": 1000
                },
                {
                  "type": "null"
                }
              ]
            },
            "pending_scheduled_posts_limit": {
              "type": "number",
              "const": 300
            },
            "history_days": {
              "type": "number",
              "const": 365
            },
            "stripe_quantity": {
              "type": "number",
              "const": 1
            }
          },
          "required": [
            "plan",
            "included_human_seats",
            "connected_channel_limit",
            "successful_destination_publishes_limit",
            "pending_scheduled_posts_limit",
            "history_days",
            "stripe_quantity"
          ],
          "additionalProperties": false
        },
        {
          "type": "object",
          "properties": {
            "plan": {
              "type": "string",
              "const": "pro"
            },
            "included_human_seats": {
              "type": "null"
            },
            "connected_channel_limit": {
              "type": "number",
              "const": 10
            },
            "successful_destination_publishes_limit": {
              "type": "null"
            },
            "unlimited_publishing_platforms": {
              "type": "array",
              "items": [
                {
                  "type": "string",
                  "const": "instagram"
                },
                {
                  "type": "string",
                  "const": "facebook"
                },
                {
                  "type": "string",
                  "const": "threads"
                },
                {
                  "type": "string",
                  "const": "youtube"
                }
              ],
              "additionalItems": false,
              "minItems": 4,
              "maxItems": 4
            },
            "pending_scheduled_posts_limit": {
              "type": "number",
              "const": 300
            },
            "history_days": {
              "type": "number",
              "const": 365
            },
            "stripe_quantity": {
              "type": "number",
              "const": 1
            }
          },
          "required": [
            "plan",
            "included_human_seats",
            "connected_channel_limit",
            "successful_destination_publishes_limit",
            "unlimited_publishing_platforms",
            "pending_scheduled_posts_limit",
            "history_days",
            "stripe_quantity"
          ],
          "additionalProperties": false
        },
        {
          "type": "object",
          "properties": {
            "plan": {
              "type": "string",
              "const": "team"
            },
            "included_human_seats": {
              "type": "null"
            },
            "connected_channel_limit": {
              "type": "number",
              "const": 20
            },
            "successful_destination_publishes_limit": {
              "type": "null"
            },
            "unlimited_publishing_platforms": {
              "type": "array",
              "items": [
                {
                  "type": "string",
                  "const": "instagram"
                },
                {
                  "type": "string",
                  "const": "facebook"
                },
                {
                  "type": "string",
                  "const": "threads"
                },
                {
                  "type": "string",
                  "const": "youtube"
                }
              ],
              "additionalItems": false,
              "minItems": 4,
              "maxItems": 4
            },
            "pending_scheduled_posts_limit": {
              "type": "number",
              "const": 300
            },
            "history_days": {
              "type": "number",
              "const": 365
            },
            "stripe_quantity": {
              "type": "number",
              "const": 1
            }
          },
          "required": [
            "plan",
            "included_human_seats",
            "connected_channel_limit",
            "successful_destination_publishes_limit",
            "unlimited_publishing_platforms",
            "pending_scheduled_posts_limit",
            "history_days",
            "stripe_quantity"
          ],
          "additionalProperties": false
        }
      ]
    },
    "pricing": {
      "oneOf": [
        {
          "oneOf": [
            {
              "type": "object",
              "properties": {
                "status": {
                  "type": "string",
                  "const": "available"
                },
                "source_kind": {
                  "type": "string",
                  "const": "standard"
                },
                "authority": {
                  "type": "string",
                  "const": "default_free"
                },
                "plan": {
                  "type": "string",
                  "const": "free"
                },
                "plan_version": {
                  "anyOf": [
                    {
                      "type": "number",
                      "const": 1
                    },
                    {
                      "type": "number",
                      "const": 2
                    }
                  ]
                },
                "currency": {
                  "type": "string",
                  "const": "usd"
                },
                "interval_unit": {
                  "type": "string",
                  "const": "month"
                },
                "monthly_amount_cents": {
                  "type": "number",
                  "const": 0
                }
              },
              "required": [
                "status",
                "source_kind",
                "authority",
                "plan",
                "plan_version",
                "currency",
                "interval_unit",
                "monthly_amount_cents"
              ],
              "additionalProperties": false
            },
            {
              "type": "object",
              "properties": {
                "status": {
                  "type": "string",
                  "const": "available"
                },
                "source_kind": {
                  "type": "string",
                  "const": "standard"
                },
                "authority": {
                  "type": "string",
                  "const": "verified_invoice"
                },
                "plan": {
                  "type": "string",
                  "const": "pro"
                },
                "plan_version": {
                  "type": "number",
                  "const": 1
                },
                "currency": {
                  "type": "string",
                  "const": "usd"
                },
                "interval_unit": {
                  "type": "string",
                  "const": "month"
                },
                "monthly_amount_cents": {
                  "type": "number",
                  "const": 4000
                },
                "verified_period": {
                  "type": "object",
                  "properties": {
                    "period_start": {
                      "type": "string",
                      "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)))$",
                      "format": "date-time"
                    },
                    "period_end": {
                      "type": "string",
                      "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)))$",
                      "format": "date-time"
                    }
                  },
                  "required": [
                    "period_start",
                    "period_end"
                  ],
                  "additionalProperties": false
                }
              },
              "required": [
                "status",
                "source_kind",
                "authority",
                "plan",
                "plan_version",
                "currency",
                "interval_unit",
                "monthly_amount_cents",
                "verified_period"
              ],
              "additionalProperties": false
            },
            {
              "type": "object",
              "properties": {
                "status": {
                  "type": "string",
                  "const": "available"
                },
                "source_kind": {
                  "type": "string",
                  "const": "standard"
                },
                "authority": {
                  "type": "string",
                  "const": "verified_invoice"
                },
                "plan": {
                  "type": "string",
                  "const": "team"
                },
                "plan_version": {
                  "type": "number",
                  "const": 1
                },
                "currency": {
                  "type": "string",
                  "const": "usd"
                },
                "interval_unit": {
                  "type": "string",
                  "const": "month"
                },
                "monthly_amount_cents": {
                  "type": "number",
                  "const": 8000
                },
                "verified_period": {
                  "type": "object",
                  "properties": {
                    "period_start": {
                      "type": "string",
                      "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)))$",
                      "format": "date-time"
                    },
                    "period_end": {
                      "type": "string",
                      "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)))$",
                      "format": "date-time"
                    }
                  },
                  "required": [
                    "period_start",
                    "period_end"
                  ],
                  "additionalProperties": false
                }
              },
              "required": [
                "status",
                "source_kind",
                "authority",
                "plan",
                "plan_version",
                "currency",
                "interval_unit",
                "monthly_amount_cents",
                "verified_period"
              ],
              "additionalProperties": false
            }
          ]
        },
        {
          "oneOf": [
            {
              "type": "object",
              "properties": {
                "status": {
                  "type": "string",
                  "const": "available"
                },
                "source_kind": {
                  "type": "string",
                  "const": "promotional"
                },
                "authority": {
                  "type": "string",
                  "const": "verified_invoice"
                },
                "plan": {
                  "type": "string",
                  "const": "pro"
                },
                "plan_version": {
                  "type": "number",
                  "const": 2
                },
                "currency": {
                  "type": "string",
                  "const": "usd"
                },
                "interval_unit": {
                  "type": "string",
                  "const": "month"
                },
                "monthly_amount_cents": {
                  "type": "number",
                  "const": 1900
                },
                "verified_period": {
                  "type": "object",
                  "properties": {
                    "period_start": {
                      "type": "string",
                      "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)))$",
                      "format": "date-time"
                    },
                    "period_end": {
                      "type": "string",
                      "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)))$",
                      "format": "date-time"
                    }
                  },
                  "required": [
                    "period_start",
                    "period_end"
                  ],
                  "additionalProperties": false
                }
              },
              "required": [
                "status",
                "source_kind",
                "authority",
                "plan",
                "plan_version",
                "currency",
                "interval_unit",
                "monthly_amount_cents",
                "verified_period"
              ],
              "additionalProperties": false
            },
            {
              "type": "object",
              "properties": {
                "status": {
                  "type": "string",
                  "const": "available"
                },
                "source_kind": {
                  "type": "string",
                  "const": "promotional"
                },
                "authority": {
                  "type": "string",
                  "const": "verified_invoice"
                },
                "plan": {
                  "type": "string",
                  "const": "team"
                },
                "plan_version": {
                  "type": "number",
                  "const": 2
                },
                "currency": {
                  "type": "string",
                  "const": "usd"
                },
                "interval_unit": {
                  "type": "string",
                  "const": "month"
                },
                "monthly_amount_cents": {
                  "type": "number",
                  "const": 3900
                },
                "verified_period": {
                  "type": "object",
                  "properties": {
                    "period_start": {
                      "type": "string",
                      "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)))$",
                      "format": "date-time"
                    },
                    "period_end": {
                      "type": "string",
                      "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)))$",
                      "format": "date-time"
                    }
                  },
                  "required": [
                    "period_start",
                    "period_end"
                  ],
                  "additionalProperties": false
                }
              },
              "required": [
                "status",
                "source_kind",
                "authority",
                "plan",
                "plan_version",
                "currency",
                "interval_unit",
                "monthly_amount_cents",
                "verified_period"
              ],
              "additionalProperties": false
            }
          ]
        },
        {
          "oneOf": [
            {
              "type": "object",
              "properties": {
                "status": {
                  "type": "string",
                  "const": "available"
                },
                "source_kind": {
                  "type": "string",
                  "const": "legacy"
                },
                "plan": {
                  "type": "string",
                  "const": "founding_pro"
                },
                "plan_version": {
                  "type": "integer",
                  "exclusiveMinimum": 0,
                  "maximum": 2147483647
                },
                "currency": {
                  "type": "string",
                  "const": "usd"
                },
                "interval_unit": {
                  "type": "string",
                  "const": "month"
                },
                "monthly_amount_cents": {
                  "type": "integer",
                  "minimum": 0,
                  "maximum": 2147483647
                },
                "authority": {
                  "type": "string",
                  "const": "legacy_commitment"
                }
              },
              "required": [
                "status",
                "source_kind",
                "plan",
                "plan_version",
                "currency",
                "interval_unit",
                "monthly_amount_cents",
                "authority"
              ],
              "additionalProperties": false
            },
            {
              "type": "object",
              "properties": {
                "status": {
                  "type": "string",
                  "const": "available"
                },
                "source_kind": {
                  "type": "string",
                  "const": "legacy"
                },
                "plan": {
                  "type": "string",
                  "const": "founding_pro"
                },
                "plan_version": {
                  "type": "integer",
                  "exclusiveMinimum": 0,
                  "maximum": 2147483647
                },
                "currency": {
                  "type": "string",
                  "const": "usd"
                },
                "interval_unit": {
                  "type": "string",
                  "const": "month"
                },
                "monthly_amount_cents": {
                  "type": "integer",
                  "minimum": 0,
                  "maximum": 2147483647
                },
                "authority": {
                  "type": "string",
                  "const": "verified_invoice"
                },
                "verified_period": {
                  "type": "object",
                  "properties": {
                    "period_start": {
                      "type": "string",
                      "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)))$",
                      "format": "date-time"
                    },
                    "period_end": {
                      "type": "string",
                      "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)))$",
                      "format": "date-time"
                    }
                  },
                  "required": [
                    "period_start",
                    "period_end"
                  ],
                  "additionalProperties": false
                }
              },
              "required": [
                "status",
                "source_kind",
                "plan",
                "plan_version",
                "currency",
                "interval_unit",
                "monthly_amount_cents",
                "authority",
                "verified_period"
              ],
              "additionalProperties": false
            }
          ]
        },
        {
          "type": "object",
          "properties": {
            "status": {
              "type": "string",
              "const": "unavailable"
            },
            "source_kind": {
              "type": "string",
              "const": "manual"
            },
            "authority": {
              "type": "string",
              "const": "manual_grant"
            },
            "plan": {
              "type": "string",
              "enum": [
                "free",
                "founding_pro",
                "pro",
                "team"
              ]
            },
            "plan_version": {
              "type": "integer",
              "exclusiveMinimum": 0,
              "maximum": 2147483647
            },
            "monthly_amount_cents": {
              "type": "null"
            },
            "reason_code": {
              "type": "string",
              "const": "recurring_charge_not_observed"
            }
          },
          "required": [
            "status",
            "source_kind",
            "authority",
            "plan",
            "plan_version",
            "monthly_amount_cents",
            "reason_code"
          ],
          "additionalProperties": false
        },
        {
          "type": "object",
          "properties": {
            "status": {
              "type": "string",
              "const": "unavailable"
            },
            "source_kind": {
              "type": "string",
              "const": "unavailable"
            },
            "authority": {
              "type": "string",
              "const": "not_observed"
            },
            "plan": {
              "type": "string",
              "enum": [
                "free",
                "founding_pro",
                "pro",
                "team"
              ]
            },
            "plan_version": {
              "anyOf": [
                {
                  "type": "integer",
                  "exclusiveMinimum": 0,
                  "maximum": 2147483647
                },
                {
                  "type": "null"
                }
              ]
            },
            "monthly_amount_cents": {
              "type": "null"
            },
            "reason_code": {
              "type": "string",
              "enum": [
                "current_period_proof_missing",
                "pricing_authority_not_observed",
                "catalog_binding_not_observed"
              ]
            }
          },
          "required": [
            "status",
            "source_kind",
            "authority",
            "plan",
            "plan_version",
            "monthly_amount_cents",
            "reason_code"
          ],
          "additionalProperties": false
        }
      ]
    },
    "purchase_options": {
      "oneOf": [
        {
          "type": "object",
          "properties": {
            "status": {
              "type": "string",
              "const": "unavailable"
            },
            "reason_code": {
              "type": "string",
              "enum": [
                "checkout_disabled",
                "catalog_unconfigured"
              ]
            }
          },
          "required": [
            "status",
            "reason_code"
          ],
          "additionalProperties": false
        },
        {
          "type": "object",
          "properties": {
            "status": {
              "type": "string",
              "const": "configured"
            },
            "catalog_version": {
              "type": "string",
              "const": "organization-monthly-2026-10-24"
            },
            "plans": {
              "type": "object",
              "properties": {
                "pro": {
                  "type": "object",
                  "properties": {
                    "plan": {
                      "type": "string",
                      "const": "pro"
                    },
                    "plan_version": {
                      "type": "number",
                      "const": 1
                    },
                    "currency": {
                      "type": "string",
                      "const": "usd"
                    },
                    "interval_unit": {
                      "type": "string",
                      "const": "month"
                    },
                    "monthly_amount_cents": {
                      "type": "number",
                      "const": 4000
                    }
                  },
                  "required": [
                    "plan",
                    "plan_version",
                    "currency",
                    "interval_unit",
                    "monthly_amount_cents"
                  ],
                  "additionalProperties": false
                },
                "team": {
                  "type": "object",
                  "properties": {
                    "plan": {
                      "type": "string",
                      "const": "team"
                    },
                    "plan_version": {
                      "type": "number",
                      "const": 1
                    },
                    "currency": {
                      "type": "string",
                      "const": "usd"
                    },
                    "interval_unit": {
                      "type": "string",
                      "const": "month"
                    },
                    "monthly_amount_cents": {
                      "type": "number",
                      "const": 8000
                    }
                  },
                  "required": [
                    "plan",
                    "plan_version",
                    "currency",
                    "interval_unit",
                    "monthly_amount_cents"
                  ],
                  "additionalProperties": false
                }
              },
              "required": [
                "pro",
                "team"
              ],
              "additionalProperties": false
            }
          },
          "required": [
            "status",
            "catalog_version",
            "plans"
          ],
          "additionalProperties": false
        }
      ]
    },
    "pending_change": {
      "oneOf": [
        {
          "type": "object",
          "properties": {
            "status": {
              "type": "string",
              "const": "not_observed"
            }
          },
          "required": [
            "status"
          ],
          "additionalProperties": false
        },
        {
          "type": "object",
          "properties": {
            "status": {
              "type": "string",
              "enum": [
                "scheduled",
                "blocked_by_cancellation",
                "terminated"
              ]
            },
            "target_plan": {
              "type": "string",
              "enum": [
                "pro",
                "team"
              ]
            },
            "target_plan_version": {
              "anyOf": [
                {
                  "type": "number",
                  "const": 1
                },
                {
                  "type": "number",
                  "const": 2
                }
              ]
            },
            "source_kind": {
              "type": "string",
              "enum": [
                "standard",
                "promotional"
              ]
            },
            "currency": {
              "type": "string",
              "const": "usd"
            },
            "interval_unit": {
              "type": "string",
              "const": "month"
            },
            "monthly_amount_cents": {
              "anyOf": [
                {
                  "type": "number",
                  "const": 4000
                },
                {
                  "type": "number",
                  "const": 8000
                },
                {
                  "type": "number",
                  "const": 1900
                },
                {
                  "type": "number",
                  "const": 3900
                }
              ]
            },
            "effective_at": {
              "type": "string",
              "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)))$",
              "format": "date-time"
            },
            "activation": {
              "type": "string",
              "const": "next_paid_invoice"
            }
          },
          "required": [
            "status",
            "target_plan",
            "target_plan_version",
            "source_kind",
            "currency",
            "interval_unit",
            "monthly_amount_cents",
            "effective_at",
            "activation"
          ],
          "additionalProperties": false
        },
        {
          "type": "object",
          "properties": {
            "status": {
              "type": "string",
              "const": "unavailable"
            },
            "reason_code": {
              "type": "string",
              "const": "pending_change_authority_not_observed"
            }
          },
          "required": [
            "status",
            "reason_code"
          ],
          "additionalProperties": false
        }
      ]
    },
    "continuous_lock": {
      "oneOf": [
        {
          "type": "object",
          "properties": {
            "status": {
              "type": "string",
              "const": "not_observed"
            }
          },
          "required": [
            "status"
          ],
          "additionalProperties": false
        },
        {
          "type": "object",
          "properties": {
            "status": {
              "type": "string",
              "const": "none"
            },
            "reason_code": {
              "type": "string",
              "const": "standard_subscription"
            }
          },
          "required": [
            "status",
            "reason_code"
          ],
          "additionalProperties": false
        },
        {
          "type": "object",
          "properties": {
            "status": {
              "type": "string",
              "const": "active"
            },
            "source_kind": {
              "type": "string",
              "const": "promotional"
            },
            "currency": {
              "type": "string",
              "const": "usd"
            },
            "interval_unit": {
              "type": "string",
              "const": "month"
            },
            "pro_monthly_amount_cents": {
              "type": "number",
              "const": 1900
            },
            "team_monthly_amount_cents": {
              "type": "number",
              "const": 3900
            }
          },
          "required": [
            "status",
            "source_kind",
            "currency",
            "interval_unit",
            "pro_monthly_amount_cents",
            "team_monthly_amount_cents"
          ],
          "additionalProperties": false
        },
        {
          "type": "object",
          "properties": {
            "status": {
              "type": "string",
              "const": "terminated"
            },
            "ended_at": {
              "type": "string",
              "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)))$",
              "format": "date-time"
            }
          },
          "required": [
            "status",
            "ended_at"
          ],
          "additionalProperties": false
        },
        {
          "type": "object",
          "properties": {
            "status": {
              "type": "string",
              "const": "unavailable"
            },
            "reason_code": {
              "type": "string",
              "const": "commitment_authority_not_observed"
            }
          },
          "required": [
            "status",
            "reason_code"
          ],
          "additionalProperties": false
        }
      ]
    },
    "observed_at": {
      "type": "string",
      "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)))$",
      "format": "date-time"
    }
  },
  "required": [
    "contract_version",
    "workspace_id",
    "organization_id",
    "plan",
    "plan_limits",
    "pricing",
    "purchase_options",
    "pending_change",
    "continuous_lock",
    "observed_at"
  ],
  "$schema": "http://json-schema.org/draft-07/schema#",
  "additionalProperties": false
}

مثال لاستدعاء أداة

تستخدم الأمثلة قيماً خيالية مفحوصة بالمخططات. استبدل المعرّفات بالمفوّض لك، والوسائط بأصول جاهزة، والتواريخ بوقت نشر مؤكد. افحص أهلية الحساب قبل الكتابة. لا تُرسل الصفحة طلبات API.

{
  "name": "sosoapi_get_organization_billing",
  "arguments": {
    "workspace_id": "11111111-1111-4111-8111-111111111111"
  }
}

structuredContent

{
  "contract_version": "organization-commercial-billing/v1",
  "workspace_id": "11111111-1111-4111-8111-111111111111",
  "organization_id": "11111111-1111-4111-8111-111111111111",
  "plan": "free",
  "plan_limits": {
    "plan": "free",
    "included_human_seats": null,
    "connected_channel_limit": 3,
    "successful_destination_publishes_limit": null,
    "pending_scheduled_posts_limit": 30,
    "history_days": 30,
    "stripe_quantity": 0
  },
  "pricing": {
    "status": "available",
    "source_kind": "standard",
    "authority": "default_free",
    "plan": "free",
    "plan_version": 1,
    "currency": "usd",
    "interval_unit": "month",
    "monthly_amount_cents": 0
  },
  "purchase_options": {
    "status": "unavailable",
    "reason_code": "checkout_disabled"
  },
  "pending_change": {
    "status": "not_observed"
  },
  "continuous_lock": {
    "status": "not_observed"
  },
  "observed_at": "2099-01-15T09:00:00Z"
}
تثبيت MCP أو ربطه