mirror of
https://github.com/GSA/notifications-api.git
synced 2025-12-23 08:51:30 -05:00
reformat
This commit is contained in:
@@ -10,7 +10,7 @@ post_create_organization_schema = {
|
||||
"active": {"type": ["boolean", "null"]},
|
||||
"organization_type": {"enum": ORGANIZATION_TYPES},
|
||||
},
|
||||
"required": ["name", "organization_type"]
|
||||
"required": ["name", "organization_type"],
|
||||
}
|
||||
|
||||
post_update_organization_schema = {
|
||||
@@ -22,17 +22,15 @@ post_update_organization_schema = {
|
||||
"active": {"type": ["boolean", "null"]},
|
||||
"organization_type": {"enum": ORGANIZATION_TYPES},
|
||||
},
|
||||
"required": []
|
||||
"required": [],
|
||||
}
|
||||
|
||||
post_link_service_to_organization_schema = {
|
||||
"$schema": "http://json-schema.org/draft-07/schema#",
|
||||
"description": "POST link service to organization schema",
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"service_id": uuid
|
||||
},
|
||||
"required": ["service_id"]
|
||||
"properties": {"service_id": uuid},
|
||||
"required": ["service_id"],
|
||||
}
|
||||
|
||||
|
||||
@@ -43,9 +41,9 @@ post_create_invited_org_user_status_schema = {
|
||||
"properties": {
|
||||
"email_address": {"type": "string", "format": "email_address"},
|
||||
"invited_by": uuid,
|
||||
"invite_link_host": {"type": "string"}
|
||||
"invite_link_host": {"type": "string"},
|
||||
},
|
||||
"required": ["email_address", "invited_by"]
|
||||
"required": ["email_address", "invited_by"],
|
||||
}
|
||||
|
||||
|
||||
@@ -53,8 +51,6 @@ post_update_invited_org_user_status_schema = {
|
||||
"$schema": "http://json-schema.org/draft-07/schema#",
|
||||
"description": "POST update organization invite schema",
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"status": {"enum": INVITED_USER_STATUS_TYPES}
|
||||
},
|
||||
"required": ["status"]
|
||||
"properties": {"status": {"enum": INVITED_USER_STATUS_TYPES}},
|
||||
"required": ["status"],
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user