JSON Schema: Group
URI Template
/repositories/:repo_id/groups
Properties
- (string) uri
- (string (max length: 255)) group_code
- (string (max length: 65000)) description
- (array (string)) member_usernames
- (array (string)) grants_permissions
View Source
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 |
# File 'common/schemas/group.rb', line 1 { :schema => { "$schema" => "http://www.archivesspace.org/archivesspace.json", "version" => 1, "type" => "object", "uri" => "/repositories/:repo_id/groups", "properties" => { "uri" => {"type" => "string", "required" => false}, "group_code" => {"type" => "string", "maxLength" => 255, "ifmissing" => "error", "minLength" => 1}, "description" => {"type" => "string", "maxLength" => 65000, "ifmissing" => "error", "default" => ""}, "member_usernames" => {"type" => "array", "items" => {"type" => "string", "minLength" => 1}}, "grants_permissions" => {"type" => "array", "items" => {"type" => "string", "minLength" => 1}}, }, }, } |
Plain Text Version