{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/BillingAppStripe",
  "title": "BillingAppStripe",
  "description": "Stripe app.",
  "type": "object",
  "properties": {
    "id": {
      "description": "ULID (Universally Unique Lexicographically Sortable Identifier).",
      "type": "string",
      "example": "01G65Z755AFWAKHE12NY0CQ9FH",
      "pattern": "^[0-7][0-9A-HJKMNP-TV-Z]{25}$",
      "readOnly": true,
      "title": "ULID"
    },
    "name": {
      "description": "Display name of the resource.\n\nBetween 1 and 256 characters.",
      "type": "string",
      "maxLength": 256,
      "minLength": 1
    },
    "description": {
      "description": "Optional description of the resource.\n\nMaximum 1024 characters.",
      "type": "string",
      "maxLength": 1024
    },
    "labels": {
      "$ref": "#/components/schemas/Labels"
    },
    "created_at": {
      "description": "An ISO-8601 timestamp representation of entity creation date.",
      "type": "string",
      "format": "date-time",
      "example": "2023-01-01T01:01:01.001Z",
      "readOnly": true,
      "title": "RFC3339 Date-Time"
    },
    "updated_at": {
      "description": "An ISO-8601 timestamp representation of entity last update date.",
      "type": "string",
      "format": "date-time",
      "example": "2023-01-01T01:01:01.001Z",
      "readOnly": true,
      "title": "RFC3339 Date-Time"
    },
    "deleted_at": {
      "description": "An ISO-8601 timestamp representation of entity deletion date.",
      "type": "string",
      "format": "date-time",
      "example": "2023-01-01T01:01:01.001Z",
      "readOnly": true,
      "title": "RFC3339 Date-Time"
    },
    "type": {
      "description": "The app type.",
      "type": "string",
      "enum": [
        "stripe"
      ],
      "readOnly": true
    },
    "definition": {
      "description": "The app catalog definition that this installed app is based on.",
      "type": "object",
      "example": {
        "type": "stripe",
        "name": "Stripe",
        "description": "Stripe integration allows you to collect payments with Stripe."
      },
      "properties": {
        "type": {
          "description": "Type of the app.",
          "type": "string",
          "enum": [
            "sandbox",
            "stripe",
            "external_invoicing"
          ],
          "readOnly": true,
          "x-speakeasy-unknown-values": "allow"
        },
        "name": {
          "description": "Name of the app.",
          "type": "string",
          "readOnly": true
        },
        "description": {
          "description": "Description of the app.",
          "type": "string",
          "readOnly": true
        }
      },
      "readOnly": true,
      "required": [
        "type",
        "name",
        "description"
      ]
    },
    "status": {
      "description": "Status of the app connection.",
      "type": "string",
      "enum": [
        "ready",
        "unauthorized"
      ],
      "readOnly": true,
      "x-speakeasy-unknown-values": "allow"
    },
    "account_id": {
      "description": "The Stripe account ID associated with the connected Stripe account.",
      "type": "string",
      "readOnly": true
    },
    "livemode": {
      "description": "Indicates whether the app is connected to a live Stripe account.",
      "type": "boolean",
      "readOnly": true
    },
    "masked_api_key": {
      "description": "The masked Stripe API key that only exposes the first and last few characters.",
      "type": "string",
      "readOnly": true
    }
  },
  "required": [
    "id",
    "name",
    "created_at",
    "updated_at",
    "type",
    "definition",
    "status",
    "account_id",
    "livemode",
    "masked_api_key"
  ]
}