JSON Schema: Permission

URI Template

/permissions

Properties

- (string) uri

- (string (max length: 255)) permission_code

- (string (max length: 65000)) description

- (string) level

View Source


1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
# File 'common/schemas/permission.rb', line 1

{
  :schema => {
    "$schema" => "http://www.archivesspace.org/archivesspace.json",
    "version" => 1,
    "type" => "object",
    "uri" => "/permissions",
    "properties" => {
      "uri" => {"type" => "string", "required" => false},

      "permission_code" => {"type" => "string", "maxLength" => 255, "ifmissing" => "error", "minLength" => 1},
      "description" => {"type" => "string", "maxLength" => 65000, "ifmissing" => "error", "minLength" => 1},
      "level" => {"type" => "string", "ifmissing" => "error", "enum" => ["repository", "global"]},
    },
  },
}

Plain Text Version