Skip to content

Commit

Permalink
update schema for distribution type and stripe api access type (#931)
Browse files Browse the repository at this point in the history
  • Loading branch information
svenugopal-stripe authored Sep 5, 2023
1 parent b4f5767 commit 954a21b
Show file tree
Hide file tree
Showing 2 changed files with 25 additions and 0 deletions.
6 changes: 6 additions & 0 deletions schema/stripe-app-local.schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,12 @@
"allowed_redirect_uris": {
"$ref": "stripe-app.schema.json#/properties/allowed_redirect_uris"
},
"distribution_type": {
"$ref": "stripe-app.schema.json#/properties/distribution_type"
},
"stripe_api_access_type": {
"$ref": "stripe-app.schema.json#/properties/stripe_api_access_type"
},
"ui_extension": {
"description": "Configuration options for how to display the app in the Dashboard.",
"type": "object",
Expand Down
19 changes: 19 additions & 0 deletions schema/stripe-app.schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -315,6 +315,25 @@
"format": "uri",
"pattern": "^https?://.*/.+"
}
},
"distribution_type": {
"type": "string",
"description": "Stripe Apps gives you two ways to distribute your apps. You can make them publicly available or privately share them only with your team members. Read about Distribution Type: https://stripe.com/docs/stripe-apps/reference/app-manifest#distribution-type",
"markdownDescription": "Stripe Apps gives you two ways to distribute your apps. You can make them publicly available or privately share them only with your team member. [Read about specifying Distribution Type](https://stripe.com/docs/stripe-apps/reference/app-manifest#distribution-type).",
"enum": [
"public",
"private"
]
},
"stripe_api_access_type": {
"type": "string",
"description": "A property that describes how your application calls Stripe API. Read about using stripe api access type: https://stripe.com/docs/stripe-apps/reference/app-manifest#stripe-api-access-type",
"markdownDescription": "A property that describes how your application accesses Stripe API. [Read about specifying Stripe API access type](https://stripe.com/docs/stripe-apps/reference/app-manifest#stripe-api-access-type).",
"enum": [
"restricted_api_key",
"oauth",
"platform"
]
}
},
"$defs": {
Expand Down

0 comments on commit 954a21b

Please sign in to comment.