{
  "@context": {
    "@vocab": "https://prosperstack.com/schema#",
    "schema": "https://schema.org/",
    "xsd": "http://www.w3.org/2001/XMLSchema#",
    "dcterms": "http://purl.org/dc/terms/",
    "prosperstack": "https://prosperstack.com/schema#",
    "Event": "prosperstack:Event",
    "id": {
      "@id": "prosperstack:id",
      "@type": "xsd:string"
    },
    "event": {
      "@id": "prosperstack:event",
      "@type": "xsd:string"
    },
    "data": {
      "@id": "prosperstack:data"
    },
    "created_at": {
      "@id": "prosperstack:created_at",
      "@type": "xsd:dateTime"
    },
    "Error": "prosperstack:Error",
    "error": {
      "@id": "prosperstack:error",
      "@type": "xsd:string"
    },
    "CustomerPortalSession": "prosperstack:CustomerPortalSession",
    "url": {
      "@id": "prosperstack:url",
      "@type": "@id"
    },
    "expires_at": {
      "@id": "prosperstack:expires_at",
      "@type": "xsd:dateTime"
    },
    "Flow": "prosperstack:Flow",
    "name": {
      "@id": "prosperstack:name",
      "@type": "xsd:string"
    },
    "updated_at": {
      "@id": "prosperstack:updated_at",
      "@type": "xsd:dateTime"
    },
    "SubscriberProperty": "prosperstack:SubscriberProperty",
    "key": {
      "@id": "prosperstack:key",
      "@type": "xsd:string"
    },
    "entity": {
      "@id": "prosperstack:entity",
      "@type": "xsd:string"
    },
    "type": {
      "@id": "prosperstack:type",
      "@type": "xsd:string"
    },
    "format": {
      "@id": "prosperstack:format",
      "@type": "xsd:string"
    },
    "SubscriberPropertyValue": "prosperstack:SubscriberPropertyValue",
    "property": {
      "@id": "prosperstack:property",
      "@type": "@id"
    },
    "value": {
      "@id": "prosperstack:value"
    },
    "formatted_value": {
      "@id": "prosperstack:formatted_value",
      "@type": "xsd:string"
    },
    "Subscriber": "prosperstack:Subscriber",
    "platform_id": {
      "@id": "prosperstack:platform_id",
      "@type": "xsd:string"
    },
    "email": {
      "@id": "prosperstack:email",
      "@type": "xsd:string"
    },
    "status": {
      "@id": "prosperstack:status",
      "@type": "xsd:string"
    },
    "properties": {
      "@id": "prosperstack:properties",
      "@container": "@list"
    },
    "SubscriptionProperty": "prosperstack:SubscriptionProperty",
    "SubscriptionPropertyValue": "prosperstack:SubscriptionPropertyValue",
    "Subscription": "prosperstack:Subscription",
    "subscriber_id": {
      "@id": "prosperstack:subscriber_id",
      "@type": "xsd:string"
    },
    "mrr": {
      "@id": "prosperstack:mrr",
      "@type": "xsd:string"
    },
    "ChangeFrequencyOfferDetails": "prosperstack:ChangeFrequencyOfferDetails",
    "interval": {
      "@id": "prosperstack:interval",
      "@type": "xsd:string"
    },
    "interval_count": {
      "@id": "prosperstack:interval_count",
      "@type": "xsd:decimal"
    },
    "metadata": {
      "@id": "prosperstack:metadata"
    },
    "options": {
      "@id": "prosperstack:options",
      "@container": "@list"
    },
    "ChangePlanOfferDetails": "prosperstack:ChangePlanOfferDetails",
    "platform_plan_id": {
      "@id": "prosperstack:platform_plan_id",
      "@type": "xsd:string"
    },
    "prorate": {
      "@id": "prosperstack:prorate",
      "@type": "xsd:boolean"
    },
    "platform_coupon_id": {
      "@id": "prosperstack:platform_coupon_id",
      "@type": "xsd:string"
    },
    "CouponOfferDetails": "prosperstack:CouponOfferDetails",
    "coupon_type": {
      "@id": "prosperstack:coupon_type",
      "@type": "xsd:string"
    },
    "amount_off": {
      "@id": "prosperstack:amount_off",
      "@type": "xsd:string"
    },
    "duration": {
      "@id": "prosperstack:duration",
      "@type": "xsd:string"
    },
    "months": {
      "@id": "prosperstack:months",
      "@type": "xsd:decimal"
    },
    "apply_to": {
      "@id": "prosperstack:apply_to",
      "@type": "xsd:string"
    },
    "CustomOfferDetails": "prosperstack:CustomOfferDetails",
    "DowngradeOfferDetails": "prosperstack:DowngradeOfferDetails",
    "DunningOfferDetails": "prosperstack:DunningOfferDetails",
    "FreeGiftOfferDetails": "prosperstack:FreeGiftOfferDetails",
    "platform_variant_id": {
      "@id": "prosperstack:platform_variant_id",
      "@type": "xsd:string"
    },
    "ModifySubscriptionOfferDetails": "prosperstack:ModifySubscriptionOfferDetails",
    "modifications": {
      "@id": "prosperstack:modifications",
      "@container": "@list"
    },
    "PauseSubscriptionOfferDetails": "prosperstack:PauseSubscriptionOfferDetails",
    "pause_at": {
      "@id": "prosperstack:pause_at",
      "@type": "xsd:string"
    },
    "ProductSwapOfferDetails": "prosperstack:ProductSwapOfferDetails",
    "PurchaseOfferDetails": "prosperstack:PurchaseOfferDetails",
    "ReactivateOfferDetails": "prosperstack:ReactivateOfferDetails",
    "RescheduleOrderOfferDetails": "prosperstack:RescheduleOrderOfferDetails",
    "TrialExtensionOfferDetails": "prosperstack:TrialExtensionOfferDetails",
    "days": {
      "@id": "prosperstack:days",
      "@type": "xsd:decimal"
    },
    "UpgradeOfferDetails": "prosperstack:UpgradeOfferDetails",
    "Offer": "prosperstack:Offer",
    "goal": {
      "@id": "prosperstack:goal",
      "@type": "xsd:string"
    },
    "context": {
      "@id": "prosperstack:context",
      "@type": "xsd:string"
    },
    "details": {
      "@id": "prosperstack:details"
    },
    "OfferGroup": "prosperstack:OfferGroup",
    "offers": {
      "@id": "prosperstack:offers",
      "@container": "@list"
    },
    "ChangeFrequencyAcceptedOfferDetails": "prosperstack:ChangeFrequencyAcceptedOfferDetails",
    "PauseSubscriptionAcceptedOfferDetails": "prosperstack:PauseSubscriptionAcceptedOfferDetails",
    "ProductSwapAcceptedOfferDetails": "prosperstack:ProductSwapAcceptedOfferDetails",
    "RescheduleOrderAcceptedOfferDetails": "prosperstack:RescheduleOrderAcceptedOfferDetails",
    "action": {
      "@id": "prosperstack:action",
      "@type": "xsd:string"
    },
    "reschedule_to": {
      "@id": "prosperstack:reschedule_to",
      "@type": "xsd:dateTime"
    },
    "AcceptedOffer": "prosperstack:AcceptedOffer",
    "Question": "prosperstack:Question",
    "text": {
      "@id": "prosperstack:text",
      "@type": "xsd:string"
    },
    "primary": {
      "@id": "prosperstack:primary",
      "@type": "xsd:boolean"
    },
    "MultipleChoiceValue": "prosperstack:MultipleChoiceValue",
    "MultipleChoiceOtherValue": "prosperstack:MultipleChoiceOtherValue",
    "Answer": "prosperstack:Answer",
    "question": {
      "@id": "prosperstack:question",
      "@type": "@id"
    },
    "sentiment": {
      "@id": "prosperstack:sentiment",
      "@type": "xsd:string"
    },
    "FlowStep": "prosperstack:FlowStep",
    "title": {
      "@id": "prosperstack:title",
      "@type": "xsd:string"
    },
    "FlowSessionStep": "prosperstack:FlowSessionStep",
    "step": {
      "@id": "prosperstack:step",
      "@type": "@id"
    },
    "started_at": {
      "@id": "prosperstack:started_at",
      "@type": "xsd:dateTime"
    },
    "completed_at": {
      "@id": "prosperstack:completed_at",
      "@type": "xsd:dateTime"
    },
    "CancelReason": "prosperstack:CancelReason",
    "reason_code": {
      "@id": "prosperstack:reason_code",
      "@type": "xsd:string"
    },
    "FlowActionUrlDetails": "prosperstack:FlowActionUrlDetails",
    "FlowAction": "prosperstack:FlowAction",
    "code": {
      "@id": "prosperstack:code",
      "@type": "xsd:string"
    },
    "Deflection": "prosperstack:Deflection",
    "actions": {
      "@id": "prosperstack:actions",
      "@container": "@list"
    },
    "FlowSessionDeflectedByDetails": "prosperstack:FlowSessionDeflectedByDetails",
    "deflection": {
      "@id": "prosperstack:deflection",
      "@type": "@id"
    },
    "FlowSessionDeflectedBy": "prosperstack:FlowSessionDeflectedBy",
    "FlowSession": "prosperstack:FlowSession",
    "flow": {
      "@id": "prosperstack:flow",
      "@type": "@id"
    },
    "subscriber": {
      "@id": "prosperstack:subscriber",
      "@type": "@id"
    },
    "subscription": {
      "@id": "prosperstack:subscription",
      "@type": "@id"
    },
    "offers_presented": {
      "@id": "prosperstack:offers_presented",
      "@container": "@list"
    },
    "offer_groups_presented": {
      "@id": "prosperstack:offer_groups_presented",
      "@container": "@list"
    },
    "offer_accepted": {
      "@id": "prosperstack:offer_accepted"
    },
    "answers": {
      "@id": "prosperstack:answers",
      "@container": "@list"
    },
    "steps": {
      "@id": "prosperstack:steps",
      "@container": "@list"
    },
    "cancel_reason": {
      "@id": "prosperstack:cancel_reason"
    },
    "deflected_by": {
      "@id": "prosperstack:deflected_by"
    },
    "rerouted_from_flow_session_id": {
      "@id": "prosperstack:rerouted_from_flow_session_id",
      "@type": "xsd:string"
    },
    "client": {
      "@id": "prosperstack:client"
    },
    "OfferLink": "prosperstack:OfferLink",
    "subscription_id": {
      "@id": "prosperstack:subscription_id",
      "@type": "xsd:string"
    },
    "offer_id": {
      "@id": "prosperstack:offer_id",
      "@type": "xsd:string"
    },
    "OfferLinkCreate": "prosperstack:OfferLinkCreate",
    "Payment": "prosperstack:Payment",
    "amount": {
      "@id": "prosperstack:amount",
      "@type": "xsd:string"
    },
    "currency": {
      "@id": "prosperstack:currency",
      "@type": "xsd:string"
    },
    "platform_invoice_id": {
      "@id": "prosperstack:platform_invoice_id",
      "@type": "xsd:string"
    },
    "platform_invoice_number": {
      "@id": "prosperstack:platform_invoice_number",
      "@type": "xsd:string"
    },
    "offer": {
      "@id": "prosperstack:offer"
    },
    "paid_at": {
      "@id": "prosperstack:paid_at",
      "@type": "xsd:dateTime"
    },
    "Property": "prosperstack:Property",
    "Webhook": "prosperstack:Webhook",
    "events": {
      "@id": "prosperstack:events",
      "@container": "@list"
    }
  },
  "@type": "schema:Dataset",
  "schema:name": "ProsperStack API JSON-LD context",
  "schema:description": "A JSON-LD @context for the objects ProsperStack's own API contract declares: one class per component schema, one property per declared field, typed from the contract. Derived by script (derive-json-ld.py, 2026-10-26) from openapi/prosperstack-openapi.json.",
  "dcterms:created": "2026-10-26",
  "dcterms:source": [
    "openapi/prosperstack-openapi.json"
  ]
}