mirror of
https://github.com/GSA/notifications-api.git
synced 2026-01-30 06:21:50 -05:00
Organisation services API endpoints
This commit is contained in:
@@ -1,3 +1,5 @@
|
||||
from app.schema_validation.definitions import uuid
|
||||
|
||||
post_create_organisation_schema = {
|
||||
"$schema": "http://json-schema.org/draft-04/schema#",
|
||||
"description": "POST organisation schema",
|
||||
@@ -19,3 +21,13 @@ post_update_organisation_schema = {
|
||||
},
|
||||
"required": []
|
||||
}
|
||||
|
||||
post_link_service_to_organisation_schema = {
|
||||
"$schema": "http://json-schema.org/draft-04/schema#",
|
||||
"description": "POST link service to organisation schema",
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"service_id": uuid
|
||||
},
|
||||
"required": ["service_id"]
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user