Files
upstream-ory-kratos/ui/node/fixtures/all_formats.schema.json
upstream-mirror c60cc7ca75
Some checks failed
CI / Run tests and lints (push) Failing after 29s
CI / Build CLI docs (push) Has been skipped
CI / Run Playwright end-to-end tests (mysql) (push) Failing after 3s
CI / Run Playwright end-to-end tests (postgres) (push) Failing after 2s
CI / Run Playwright end-to-end tests (sqlite) (push) Failing after 3s
CodeQL / Analyze (go) (push) Failing after 4s
CodeQL / Analyze (javascript) (push) Failing after 3s
Docker Image Scanners / scanners (push) Failing after 4s
Synchronize Issue Labels / Synchronize Issue Labels (push) Has been skipped
CI / Run end-to-end tests (postgres) (push) Failing after 19s
CI / Run end-to-end tests (sqlite) (push) Failing after 2s
CI / Run Playwright end-to-end tests (cockroach) (push) Failing after 2s
CI / Draft newsletter (push) Has been skipped
CI / Generate release (push) Has been skipped
CI / Pending approval Slack notification (push) Has been skipped
CI / Send newsletter (push) Has been skipped
snapshot of https://github.com/ory/kratos.git (master, 2026-09-15; blobs > 131072B omitted)
2026-09-15 21:19:12 +05:00

93 lines
2.3 KiB
JSON

{
"$id": "https://example.com/all_formats.schema.json",
"$schema": "http://json-schema.org/draft-07/schema#",
"type": "object",
"properties": {
"password": {
"type": "string",
"test_expected_type": "password"
},
"csrf_token": {
"type": "string",
"test_expected_type": "hidden"
},
"simpleString": {
"type": "string",
"test_expected_type": "text"
},
"simpleNumber": {
"type": "number",
"test_expected_type": "number"
},
"simpleBoolean": {
"type": "boolean",
"test_expected_type": "checkbox"
},
"emailString": {
"type": "string",
"format": "email",
"test_expected_type": "email",
"test_expected_autocomplete": "email"
},
"phoneString": {
"type": "string",
"format": "tel",
"test_expected_type": "tel",
"test_expected_autocomplete": "tel"
},
"dateTimeString": {
"type": "string",
"format": "date-time",
"test_expected_type": "datetime-local"
},
"regexString": {
"type": "string",
"format": "regex",
"test_expected_type": "text"
},
"dateString": {
"type": "string",
"format": "date",
"test_expected_type": "date"
},
"uriString": {
"type": "string",
"format": "uri",
"test_expected_type": "url",
"test_expected_autocomplete": "url"
},
"patternString": {
"type": "string",
"pattern": "foo.*",
"test_expected_type": "text",
"test_expected_pattern": true
},
"enumString": {
"type": "string",
"enum": ["one", "two", "three"],
"test_expected_type": "text",
"test_expected_options": ["one", "two", "three"]
},
"enumNumber": {
"type": "number",
"enum": [1, 2.5, 3],
"test_expected_type": "number",
"test_expected_options": [1, 2.5, 3]
},
"enumBoolean": {
"type": "boolean",
"enum": [true, false],
"test_expected_type": "checkbox",
"test_expected_options": [true, false]
},
"enumEmail": {
"type": "string",
"format": "email",
"enum": ["admin@example.com", "user@example.com"],
"test_expected_type": "email",
"test_expected_autocomplete": "email",
"test_expected_options": ["admin@example.com", "user@example.com"]
}
}
}