{ "$id": "https://example.com/person.schema.json", "$schema": "http://json-schema.org/draft-07/schema#", "title": "Person", "type": "object", "properties": { "traits": { "type": "object", "properties": { "email1": { "type": "string", "format": "email", "ory.sh/kratos": { "credentials": { "code": { "identifier": true, "via": "email" } } } }, "email2": { "type": "string", "format": "email", "ory.sh/kratos": { "credentials": { "code": { "identifier": true, "via": "email" } } } }, "phone1": { "type": "string", "format": "tel", "ory.sh/kratos": { "credentials": { "code": { "identifier": true, "via": "sms" } } } } }, "required": [] } } }