mirror of
https://github.com/GSA/notifications-api.git
synced 2025-12-09 23:02:13 -05:00
24 lines
822 B
Python
24 lines
822 B
Python
post_create_webauthn_credential_schema = {
|
|
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
"description": "POST webauthn_credential schema",
|
|
"type": "object",
|
|
"properties": {
|
|
"name": {"type": "string", "minLength": 1},
|
|
"credential_data": {"type": "string", "minLength": 1},
|
|
"registration_response": {"type": "string", "minLength": 1},
|
|
},
|
|
"required": ["name", "credential_data", "registration_response"],
|
|
"additionalProperties": False,
|
|
}
|
|
|
|
post_update_webauthn_credential_schema = {
|
|
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
"description": "POST update webauthn_credential schema",
|
|
"type": "object",
|
|
"properties": {
|
|
"name": {"type": "string", "minLength": 1},
|
|
},
|
|
"required": ["name"],
|
|
"additionalProperties": False,
|
|
}
|