How do I create an identity schema without traits ...
# ory-network
a
How do I create an identity schema without traits in the editor in the console? I'm getting the error message that there needs to be at least one property.
I guess you will have to add a dummy one as a workaround...
a
Is there any reason there is at least one trait required?
s
Copy code
{
  "type": "object",
  "properties": {
    "traits": {
      "type": "object",
      "additionalProperties": false,
      "properties": {
        "placeholder": {
          "const": null
        }
      }
    }
  }
}
should work
I guess that comes from before we had metadata
a
I'll create a feature request then, thanks for the workaround
👍 1