{
"$schema":"http://json-schema.org/draft-04/schema#",
"title":"Create Google Account message schema",
"type":"object",
"properties":{
"group_uuid":{
"type":"string",
"description":"The unique identifier of linked GrAM Account",
"pattern":"[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}"
},
"name":{
"type":"string",
"description":"Long name of the group"
},
"short_name":{
"type":"string",
"description":"String identifier of the group"
},
"description":{
"type":"string",
"description":"Description text of the group"
},
"members":{
"type":"array",
"description":"UUIDs of group members",
"items":{
"type":"string",
"pattern":"[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}"
}
}
},
"additionalProperties":true,
"required":[
"group_uuid",
"name",
"short_name",
"description",
"members"
]
} |