diff --git a/docs/config.schema.json b/docs/config.schema.json index 3c09a00df..68b22f3da 100644 --- a/docs/config.schema.json +++ b/docs/config.schema.json @@ -387,7 +387,7 @@ "properties": { "client_id": { "description": "The client ID", - "type": "string" + "$ref": "#/definitions/ULID" }, "redirect_uris": { "description": "List of allowed redirect URIs", @@ -1732,6 +1732,13 @@ ] } ] + }, + "ULID": { + "description": "A ULID as per https://github.com/ulid/spec", + "type": "string", + "pattern": "^[0123456789ABCDEFGHJKMNPQRSTVWXYZ]{26}$", + "minLength": 26, + "maxLength": 26 } } } \ No newline at end of file