{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "title": "Subscription",
  "type": "object",
  "description": "A subscription product defined in the Google Play Console. Contains base plans, listings, and tax and compliance settings.",
  "properties": {
    "packageName": {
      "type": "string",
      "description": "The package name of the parent app."
    },
    "productId": {
      "type": "string",
      "description": "The unique product ID of the subscription."
    },
    "basePlans": {
      "type": "array",
      "description": "The set of base plans for this subscription. A subscription must have at least one base plan."
    },
    "listings": {
      "type": "array",
      "description": "The localized listings for this subscription. Must have at least one listing."
    },
    "archived": {
      "type": "boolean",
      "description": "Whether this subscription is archived."
    }
  }
}