Skip to content

Commit

Permalink
fix: embed schema
Browse files Browse the repository at this point in the history
  • Loading branch information
ory-bot committed May 30, 2022
1 parent b249aaa commit b797bba
Show file tree
Hide file tree
Showing 2 changed files with 25 additions and 4 deletions.
27 changes: 24 additions & 3 deletions .schemastore/config.schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -339,7 +339,8 @@
"vk",
"yandex",
"apple",
"spotify"
"spotify",
"netid"
],
"examples": [
"google"
Expand Down Expand Up @@ -1494,11 +1495,24 @@
"smtp://foo:bar@my-mailserver:1234/ (Explicit StartTLS with certificate trust verification)",
"smtp://foo:bar@my-mailserver:1234/?skip_ssl_verify=true (NOT RECOMMENDED: Explicit StartTLS without certificate trust verification)",
"smtps://foo:bar@my-mailserver:1234/ (Implicit TLS with certificate trust verification)",
"smtps://foo:bar@my-mailserver:1234/?skip_ssl_verify=true (NOT RECOMMENDED: Implicit TLS without certificate trust verification)"
"smtps://foo:bar@my-mailserver:1234/?skip_ssl_verify=true (NOT RECOMMENDED: Implicit TLS without certificate trust verification)",
"smtps://subdomain.my-mailserver:1234/?server_name=my-mailserver (allows TLS to work if the server is hosted on a sudomain that uses a non-wildcard domain certificate)"
],
"type": "string",
"pattern": "^smtps?:\\/\\/.*"
},
"client_cert_path": {
"title": "SMTP Client certificate path",
"description": "Path of the client X.509 certificate, in case of certificate based client authentication to the SMTP server.",
"type": "string",
"default": ""
},
"client_key_path": {
"title": "SMTP Client private key path",
"description": "Path of the client certificate private key, in case of certificate based client authentication to the SMTP server",
"type": "string",
"default": ""
},
"from_address": {
"title": "SMTP Sender Address",
"description": "The recipient of an email will see this as the sender address.",
Expand All @@ -1525,6 +1539,12 @@
"X-SES-RETURN-PATH-ARN": "arn:aws:ses:us-west-2:123456789012:identity/example.com"
}
]
},
"local_name": {
"title": "SMTP HELO/EHLO name",
"description": "Identifier used in the SMTP HELO/EHLO command. Some SMTP relays require a unique identifier.",
"type": "string",
"default": "localhost"
}
},
"required": [
Expand Down Expand Up @@ -1827,7 +1847,7 @@
"additionalProperties": false
},
"tracing": {
"$ref": "https://raw.githubusercontent.com/ory/x/v0.0.370/otelx/config.schema.json"
"$ref": "https://raw.githubusercontent.com/ory/x/v0.0.392/otelx/config.schema.json"
},
"log": {
"title": "Log",
Expand Down Expand Up @@ -1881,6 +1901,7 @@
"schemas": {
"type": "array",
"title": "All JSON Schemas for Identity Traits",
"description": "Note that identities that used the \"default_schema_url\" field in older kratos versions will be corrupted unless you specify their schema url with the id \"default\" in this list.",
"examples": [
[
{
Expand Down
2 changes: 1 addition & 1 deletion script/render-schemas.sh
Original file line number Diff line number Diff line change
Expand Up @@ -9,5 +9,5 @@ sed "s!ory://tracing-config!https://raw.githubusercontent.com/ory/x/$ory_x_versi
git config user.email "60093411+ory-bot@users.noreply.github.com"
git config user.name "ory-bot"

git add .schema/config.schema.json
git add embedx/config.schema.json
git commit -m "autogen: render config schema"

0 comments on commit b797bba

Please sign in to comment.