Recur · JSON-LD Context
Recur Tw Context
JSON-LD context defining the semantic vocabulary for Recur Tw from Recur.
25 Classes
91 Properties
4 Namespaces
Namespaces
schema:
https://schema.org/
xsd:
http://www.w3.org/2001/XMLSchema#
dcterms:
http://purl.org/dc/terms/
recur:
https://recur.tw/schema#
Classes
CreateCheckoutSessionRequest
CreateCheckoutSessionResponse
CheckoutSession
Product
ErrorResponse
SwitchType
ExecutionMode
ProrationBehavior
ScheduleStatus
PlanSummary
ProrationDetails
SwitchPreviewResponse
ExecuteSwitchRequest
SubscriptionSummary
BillingEntry
SwitchInvoice
ScheduleSummary
ExecuteSwitchResponse
GetScheduleResponse
CancelScheduleResponse
CancellationReason
CancelSubscriptionRequest
Subscription
CancelSubscriptionErrorResponse
SwitchErrorResponse
Properties
| Property | Type | Container |
|---|---|---|
| productId | string | |
| productSlug | string | |
| mode | string | |
| successUrl | reference | |
| cancelUrl | reference | |
| customerEmail | string | |
| customerName | string | |
| promotionCode | string | |
| collectPaymentMethod | string | |
| metadata | ||
| id | string | |
| url | reference | |
| expires_at | dateTime | |
| amount | integer | |
| requires_payment_method | boolean | |
| client_secret | string | |
| discount | ||
| status | string | |
| customer_email | string | |
| customer_name | string | |
| order_id | string | |
| subscription_id | string | |
| payment_intent_id | string | |
| amount_total | integer | |
| currency | string | |
| product | ||
| created_at | dateTime | |
| completed_at | dateTime | |
| name | string | |
| slug | string | |
| description | string | |
| type | string | |
| billing_period | string | |
| price | integer | |
| trial_days | integer | |
| product_family | string | |
| display_order | integer | |
| error | ||
| product_id | string | |
| product_name | string | |
| interval | string | |
| interval_count | integer | |
| monthly_equivalent | integer | |
| credit_amount | integer | |
| charge_amount | integer | |
| net_amount | integer | |
| unused_days | integer | |
| total_days_in_period | integer | |
| credit_description | string | |
| object | string | |
| switch_type | reference | |
| execution_mode | reference | |
| current_plan | reference | |
| new_plan | reference | |
| proration | reference | |
| effective_date | dateTime | |
| next_billing_date | dateTime | |
| proration_behavior | reference | |
| requires_payment | boolean | |
| can_proceed | boolean | |
| blocking_reason | string | |
| is_in_trial | boolean | |
| trial_end | dateTime | |
| target_product_id | string | |
| current_period_start | dateTime | |
| current_period_end | dateTime | |
| previous_product_id | string | |
| switched_at | dateTime | |
| direction | string | |
| invoice_number | string | |
| billing_reason | string | |
| billing_entries | list | |
| target_product_name | string | |
| effective_at | dateTime | |
| subscription | reference | |
| invoice | reference | |
| schedule | reference | |
| has_pending_schedule | boolean | |
| cancelled | boolean | |
| cancel_at_period_end | boolean | |
| reason | reference | |
| comment | string | |
| customer | ||
| canceled_at | dateTime | |
| started_at | dateTime | |
| trial_start | dateTime | |
| coupon | ||
| promotion_code_id | string | |
| discount_amount | integer | |
| invoices | list | |
| livemode | boolean |
JSON-LD Document
{
"@context": {
"@vocab": "https://recur.tw/schema#",
"schema": "https://schema.org/",
"xsd": "http://www.w3.org/2001/XMLSchema#",
"dcterms": "http://purl.org/dc/terms/",
"recur": "https://recur.tw/schema#",
"CreateCheckoutSessionRequest": "recur:CreateCheckoutSessionRequest",
"productId": {
"@id": "recur:productId",
"@type": "xsd:string"
},
"productSlug": {
"@id": "recur:productSlug",
"@type": "xsd:string"
},
"mode": {
"@id": "recur:mode",
"@type": "xsd:string"
},
"successUrl": {
"@id": "recur:successUrl",
"@type": "@id"
},
"cancelUrl": {
"@id": "recur:cancelUrl",
"@type": "@id"
},
"customerEmail": {
"@id": "recur:customerEmail",
"@type": "xsd:string"
},
"customerName": {
"@id": "recur:customerName",
"@type": "xsd:string"
},
"promotionCode": {
"@id": "recur:promotionCode",
"@type": "xsd:string"
},
"collectPaymentMethod": {
"@id": "recur:collectPaymentMethod",
"@type": "xsd:string"
},
"metadata": {
"@id": "recur:metadata"
},
"CreateCheckoutSessionResponse": "recur:CreateCheckoutSessionResponse",
"id": {
"@id": "recur:id",
"@type": "xsd:string"
},
"url": {
"@id": "recur:url",
"@type": "@id"
},
"expires_at": {
"@id": "recur:expires_at",
"@type": "xsd:dateTime"
},
"amount": {
"@id": "recur:amount",
"@type": "xsd:integer"
},
"requires_payment_method": {
"@id": "recur:requires_payment_method",
"@type": "xsd:boolean"
},
"client_secret": {
"@id": "recur:client_secret",
"@type": "xsd:string"
},
"discount": {
"@id": "recur:discount"
},
"CheckoutSession": "recur:CheckoutSession",
"status": {
"@id": "recur:status",
"@type": "xsd:string"
},
"customer_email": {
"@id": "recur:customer_email",
"@type": "xsd:string"
},
"customer_name": {
"@id": "recur:customer_name",
"@type": "xsd:string"
},
"order_id": {
"@id": "recur:order_id",
"@type": "xsd:string"
},
"subscription_id": {
"@id": "recur:subscription_id",
"@type": "xsd:string"
},
"payment_intent_id": {
"@id": "recur:payment_intent_id",
"@type": "xsd:string"
},
"amount_total": {
"@id": "recur:amount_total",
"@type": "xsd:integer"
},
"currency": {
"@id": "recur:currency",
"@type": "xsd:string"
},
"product": {
"@id": "recur:product"
},
"created_at": {
"@id": "recur:created_at",
"@type": "xsd:dateTime"
},
"completed_at": {
"@id": "recur:completed_at",
"@type": "xsd:dateTime"
},
"Product": "recur:Product",
"name": {
"@id": "recur:name",
"@type": "xsd:string"
},
"slug": {
"@id": "recur:slug",
"@type": "xsd:string"
},
"description": {
"@id": "recur:description",
"@type": "xsd:string"
},
"type": {
"@id": "recur:type",
"@type": "xsd:string"
},
"billing_period": {
"@id": "recur:billing_period",
"@type": "xsd:string"
},
"price": {
"@id": "recur:price",
"@type": "xsd:integer"
},
"trial_days": {
"@id": "recur:trial_days",
"@type": "xsd:integer"
},
"product_family": {
"@id": "recur:product_family",
"@type": "xsd:string"
},
"display_order": {
"@id": "recur:display_order",
"@type": "xsd:integer"
},
"ErrorResponse": "recur:ErrorResponse",
"error": {
"@id": "recur:error"
},
"SwitchType": "recur:SwitchType",
"ExecutionMode": "recur:ExecutionMode",
"ProrationBehavior": "recur:ProrationBehavior",
"ScheduleStatus": "recur:ScheduleStatus",
"PlanSummary": "recur:PlanSummary",
"product_id": {
"@id": "recur:product_id",
"@type": "xsd:string"
},
"product_name": {
"@id": "recur:product_name",
"@type": "xsd:string"
},
"interval": {
"@id": "recur:interval",
"@type": "xsd:string"
},
"interval_count": {
"@id": "recur:interval_count",
"@type": "xsd:integer"
},
"monthly_equivalent": {
"@id": "recur:monthly_equivalent",
"@type": "xsd:integer"
},
"ProrationDetails": "recur:ProrationDetails",
"credit_amount": {
"@id": "recur:credit_amount",
"@type": "xsd:integer"
},
"charge_amount": {
"@id": "recur:charge_amount",
"@type": "xsd:integer"
},
"net_amount": {
"@id": "recur:net_amount",
"@type": "xsd:integer"
},
"unused_days": {
"@id": "recur:unused_days",
"@type": "xsd:integer"
},
"total_days_in_period": {
"@id": "recur:total_days_in_period",
"@type": "xsd:integer"
},
"credit_description": {
"@id": "recur:credit_description",
"@type": "xsd:string"
},
"SwitchPreviewResponse": "recur:SwitchPreviewResponse",
"object": {
"@id": "recur:object",
"@type": "xsd:string"
},
"switch_type": {
"@id": "recur:switch_type",
"@type": "@id"
},
"execution_mode": {
"@id": "recur:execution_mode",
"@type": "@id"
},
"current_plan": {
"@id": "recur:current_plan",
"@type": "@id"
},
"new_plan": {
"@id": "recur:new_plan",
"@type": "@id"
},
"proration": {
"@id": "recur:proration",
"@type": "@id"
},
"effective_date": {
"@id": "recur:effective_date",
"@type": "xsd:dateTime"
},
"next_billing_date": {
"@id": "recur:next_billing_date",
"@type": "xsd:dateTime"
},
"proration_behavior": {
"@id": "recur:proration_behavior",
"@type": "@id"
},
"requires_payment": {
"@id": "recur:requires_payment",
"@type": "xsd:boolean"
},
"can_proceed": {
"@id": "recur:can_proceed",
"@type": "xsd:boolean"
},
"blocking_reason": {
"@id": "recur:blocking_reason",
"@type": "xsd:string"
},
"is_in_trial": {
"@id": "recur:is_in_trial",
"@type": "xsd:boolean"
},
"trial_end": {
"@id": "recur:trial_end",
"@type": "xsd:dateTime"
},
"ExecuteSwitchRequest": "recur:ExecuteSwitchRequest",
"target_product_id": {
"@id": "recur:target_product_id",
"@type": "xsd:string"
},
"SubscriptionSummary": "recur:SubscriptionSummary",
"current_period_start": {
"@id": "recur:current_period_start",
"@type": "xsd:dateTime"
},
"current_period_end": {
"@id": "recur:current_period_end",
"@type": "xsd:dateTime"
},
"previous_product_id": {
"@id": "recur:previous_product_id",
"@type": "xsd:string"
},
"switched_at": {
"@id": "recur:switched_at",
"@type": "xsd:dateTime"
},
"BillingEntry": "recur:BillingEntry",
"direction": {
"@id": "recur:direction",
"@type": "xsd:string"
},
"SwitchInvoice": "recur:SwitchInvoice",
"invoice_number": {
"@id": "recur:invoice_number",
"@type": "xsd:string"
},
"billing_reason": {
"@id": "recur:billing_reason",
"@type": "xsd:string"
},
"billing_entries": {
"@id": "recur:billing_entries",
"@container": "@list"
},
"ScheduleSummary": "recur:ScheduleSummary",
"target_product_name": {
"@id": "recur:target_product_name",
"@type": "xsd:string"
},
"effective_at": {
"@id": "recur:effective_at",
"@type": "xsd:dateTime"
},
"ExecuteSwitchResponse": "recur:ExecuteSwitchResponse",
"subscription": {
"@id": "recur:subscription",
"@type": "@id"
},
"invoice": {
"@id": "recur:invoice",
"@type": "@id"
},
"schedule": {
"@id": "recur:schedule",
"@type": "@id"
},
"GetScheduleResponse": "recur:GetScheduleResponse",
"has_pending_schedule": {
"@id": "recur:has_pending_schedule",
"@type": "xsd:boolean"
},
"CancelScheduleResponse": "recur:CancelScheduleResponse",
"cancelled": {
"@id": "recur:cancelled",
"@type": "xsd:boolean"
},
"CancellationReason": "recur:CancellationReason",
"CancelSubscriptionRequest": "recur:CancelSubscriptionRequest",
"cancel_at_period_end": {
"@id": "recur:cancel_at_period_end",
"@type": "xsd:boolean"
},
"reason": {
"@id": "recur:reason",
"@type": "@id"
},
"comment": {
"@id": "recur:comment",
"@type": "xsd:string"
},
"Subscription": "recur:Subscription",
"customer": {
"@id": "recur:customer"
},
"canceled_at": {
"@id": "recur:canceled_at",
"@type": "xsd:dateTime"
},
"started_at": {
"@id": "recur:started_at",
"@type": "xsd:dateTime"
},
"trial_start": {
"@id": "recur:trial_start",
"@type": "xsd:dateTime"
},
"coupon": {
"@id": "recur:coupon"
},
"promotion_code_id": {
"@id": "recur:promotion_code_id",
"@type": "xsd:string"
},
"discount_amount": {
"@id": "recur:discount_amount",
"@type": "xsd:integer"
},
"invoices": {
"@id": "recur:invoices",
"@container": "@list"
},
"livemode": {
"@id": "recur:livemode",
"@type": "xsd:boolean"
},
"CancelSubscriptionErrorResponse": "recur:CancelSubscriptionErrorResponse",
"SwitchErrorResponse": "recur:SwitchErrorResponse"
},
"@type": "schema:Dataset",
"schema:name": "Recur API JSON-LD context",
"schema:description": "A JSON-LD @context for the objects Recur'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-11-22) from openapi/recur-tw-openapi.json.",
"dcterms:created": "2026-11-22",
"dcterms:source": [
"openapi/recur-tw-openapi.json"
]
}