Skip to content

Commit

Permalink
enable credentials custom data editing
Browse files Browse the repository at this point in the history
  • Loading branch information
byewokko committed Sep 25, 2024
1 parent 2e7bd98 commit e178b26
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions seacatauth/credentials/schemas.py
Original file line number Diff line number Diff line change
Expand Up @@ -26,14 +26,14 @@
"data": {
"type": "object",
"description": "Custom data",
# "patternProperties": {
# "^[a-zA-Z][a-zA-Z0-9_-]{0,126}[a-zA-Z0-9]$": {"anyOf": [
# {"type": "string"},
# {"type": "number"},
# {"type": "boolean"},
# {"type": "null"},
# ]}
# },
"patternProperties": {
"^[a-zA-Z][a-zA-Z0-9_-]{0,126}[a-zA-Z0-9]$": {"anyOf": [
{"type": "string"},
{"type": "number"},
{"type": "boolean"},
{"type": "null"},
]}
},
"additionalProperties": False,
},
"suspended": {
Expand Down

0 comments on commit e178b26

Please sign in to comment.