AlertCamp · Schema

SubscriptionResponse

Schema for subscription response.

TravelCampingAlertsMobileOutdoors

Properties

Name Type Description
id string
user_id string
status object
plan object
tier object
pending_tier object
trial_start object
trial_end object
current_period_start object
current_period_end object
canceled_at object
cancel_at_period_end boolean
created_at string
updated_at string
is_active boolean
is_trial boolean
trial_days_remaining integer
days_until_renewal object
View JSON Schema on GitHub

JSON Schema

alert-camp-subscription-response-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/alert-camp/json-schema/alert-camp-subscription-response-schema.json",
  "title": "SubscriptionResponse",
  "description": "Schema for subscription response.",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/alert-camp-subscriptions-api-openapi.yml#/components/schemas/SubscriptionResponse",
  "properties": {
    "id": {
      "type": "string",
      "title": "Id"
    },
    "user_id": {
      "type": "string",
      "title": "User Id"
    },
    "status": {
      "$ref": "#/$defs/SubscriptionStatusEnum"
    },
    "plan": {
      "anyOf": [
        {
          "$ref": "#/$defs/SubscriptionPlanEnum"
        },
        {
          "type": "null"
        }
      ]
    },
    "tier": {
      "allOf": [
        {
          "$ref": "#/$defs/SubscriptionTierEnum"
        }
      ],
      "default": "essai"
    },
    "pending_tier": {
      "anyOf": [
        {
          "$ref": "#/$defs/SubscriptionTierEnum"
        },
        {
          "type": "null"
        }
      ]
    },
    "trial_start": {
      "anyOf": [
        {
          "type": "string",
          "format": "date"
        },
        {
          "type": "null"
        }
      ],
      "title": "Trial Start"
    },
    "trial_end": {
      "anyOf": [
        {
          "type": "string",
          "format": "date"
        },
        {
          "type": "null"
        }
      ],
      "title": "Trial End"
    },
    "current_period_start": {
      "anyOf": [
        {
          "type": "string",
          "format": "date"
        },
        {
          "type": "null"
        }
      ],
      "title": "Current Period Start"
    },
    "current_period_end": {
      "anyOf": [
        {
          "type": "string",
          "format": "date"
        },
        {
          "type": "null"
        }
      ],
      "title": "Current Period End"
    },
    "canceled_at": {
      "anyOf": [
        {
          "type": "string",
          "format": "date-time"
        },
        {
          "type": "null"
        }
      ],
      "title": "Canceled At"
    },
    "cancel_at_period_end": {
      "type": "boolean",
      "title": "Cancel At Period End"
    },
    "created_at": {
      "type": "string",
      "format": "date-time",
      "title": "Created At"
    },
    "updated_at": {
      "type": "string",
      "format": "date-time",
      "title": "Updated At"
    },
    "is_active": {
      "type": "boolean",
      "title": "Is Active"
    },
    "is_trial": {
      "type": "boolean",
      "title": "Is Trial"
    },
    "trial_days_remaining": {
      "type": "integer",
      "title": "Trial Days Remaining"
    },
    "days_until_renewal": {
      "anyOf": [
        {
          "type": "integer"
        },
        {
          "type": "null"
        }
      ],
      "title": "Days Until Renewal"
    }
  },
  "type": "object",
  "required": [
    "id",
    "user_id",
    "status",
    "plan",
    "trial_start",
    "trial_end",
    "current_period_start",
    "current_period_end",
    "canceled_at",
    "cancel_at_period_end",
    "created_at",
    "updated_at",
    "is_active",
    "is_trial",
    "trial_days_remaining",
    "days_until_renewal"
  ],
  "$defs": {
    "SubscriptionPlanEnum": {
      "type": "string",
      "enum": [
        "monthly"
      ],
      "const": "monthly",
      "title": "SubscriptionPlanEnum",
      "description": "Available subscription plans."
    },
    "SubscriptionStatusEnum": {
      "type": "string",
      "enum": [
        "trial",
        "active",
        "past_due",
        "canceled",
        "expired"
      ],
      "title": "SubscriptionStatusEnum",
      "description": "Subscription status states."
    },
    "SubscriptionTierEnum": {
      "type": "string",
      "enum": [
        "essai",
        "regular",
        "pro"
      ],
      "title": "SubscriptionTierEnum",
      "description": "Subscription tier levels."
    }
  }
}

Work with this as data

Every JSON Schema here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for schemas

4 MCP tools reach this
  • find_json_schemasBrowse and filter every JSON Schema in the catalog.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This JSON Schema
curl "https://apis.io/api/v1/json-schemas/alert-camp-subscription-response"
All schemas
curl "https://apis.io/api/v1/json-schemas?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.