{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://catalog.lintel.tools/schemas/schemastore/stripe-app-local-json/latest.json",
  "title": "Stripe App local development manifest",
  "description": "A manifest describing a Stripe App.",
  "x-lintel": {
    "source": "https://raw.githubusercontent.com/stripe/stripe-apps/main/schema/stripe-app-local.schema.json",
    "sourceSha256": "56f0d3b719e5e1cc7a5350a33457519553bb76e38153e4d30e702f28ceed15d4",
    "fileMatch": [
      "stripe-app.*.json"
    ],
    "parsers": [
      "json"
    ]
  },
  "type": "object",
  "properties": {
    "extends": {
      "description": "The base manifest that this local manifest will extend.",
      "type": "string",
      "pattern": "^(./)?((../)+)?(([a-zA-Z0-9-_]+/)+)?stripe-app(.[a-zA-Z0-9-_]+)?.json$",
      "examples": [
        "stripe-app.json"
      ]
    },
    "$schema": {
      "$ref": "https://catalog.lintel.tools/schemas/schemastore/stripe-app-local-json/_shared/latest--stripe-app.schema.json#/properties/$schema"
    },
    "id": {
      "$ref": "https://catalog.lintel.tools/schemas/schemastore/stripe-app-local-json/_shared/latest--stripe-app.schema.json#/properties/id"
    },
    "version": {
      "$ref": "https://catalog.lintel.tools/schemas/schemastore/stripe-app-local-json/_shared/latest--stripe-app.schema.json#/properties/version"
    },
    "name": {
      "$ref": "https://catalog.lintel.tools/schemas/schemastore/stripe-app-local-json/_shared/latest--stripe-app.schema.json#/properties/name"
    },
    "icon": {
      "$ref": "https://catalog.lintel.tools/schemas/schemastore/stripe-app-local-json/_shared/latest--stripe-app.schema.json#/properties/icon"
    },
    "permissions": {
      "$ref": "https://catalog.lintel.tools/schemas/schemastore/stripe-app-local-json/_shared/latest--stripe-app.schema.json#/properties/permissions"
    },
    "post_install_action": {
      "$ref": "https://catalog.lintel.tools/schemas/schemastore/stripe-app-local-json/_shared/latest--stripe-app.schema.json#/properties/post_install_action"
    },
    "allowed_redirect_uris": {
      "$ref": "https://catalog.lintel.tools/schemas/schemastore/stripe-app-local-json/_shared/latest--stripe-app.schema.json#/properties/allowed_redirect_uris"
    },
    "distribution_type": {
      "$ref": "https://catalog.lintel.tools/schemas/schemastore/stripe-app-local-json/_shared/latest--stripe-app.schema.json#/properties/distribution_type"
    },
    "stripe_api_access_type": {
      "$ref": "https://catalog.lintel.tools/schemas/schemastore/stripe-app-local-json/_shared/latest--stripe-app.schema.json#/properties/stripe_api_access_type"
    },
    "sandbox_install_compatible": {
      "$ref": "https://catalog.lintel.tools/schemas/schemastore/stripe-app-local-json/_shared/latest--stripe-app.schema.json#/properties/sandbox_install_compatible"
    },
    "ui_extension": {
      "description": "Configuration options for how to display the app in the Dashboard.",
      "type": "object",
      "properties": {
        "views": {
          "$ref": "https://catalog.lintel.tools/schemas/schemastore/stripe-app-local-json/_shared/latest--stripe-app.schema.json#/properties/ui_extension/properties/views"
        },
        "content_security_policy": {
          "description": "Configure the content security policy for your app.",
          "type": "object",
          "properties": {
            "connect-src": {
              "$ref": "https://catalog.lintel.tools/schemas/schemastore/stripe-app-local-json/_shared/latest--stripe-app.schema.json#/properties/ui_extension/properties/content_security_policy/properties/connect-src"
            },
            "image-src": {
              "$ref": "https://catalog.lintel.tools/schemas/schemastore/stripe-app-local-json/_shared/latest--stripe-app.schema.json#/properties/ui_extension/properties/content_security_policy/properties/image-src"
            },
            "purpose": {
              "$ref": "https://catalog.lintel.tools/schemas/schemastore/stripe-app-local-json/_shared/latest--stripe-app.schema.json#/properties/ui_extension/properties/content_security_policy/properties/purpose"
            }
          }
        }
      }
    },
    "constants": {
      "$ref": "https://catalog.lintel.tools/schemas/schemastore/stripe-app-local-json/_shared/latest--stripe-app.schema.json#/properties/constants"
    }
  },
  "additionalProperties": false
}
