JSON Schema: Agent_software

URI Template

/agents/software

Properties

- (string) slug

- (boolean) is_slug_auto

- (JSONModel(:name_software) object) display_name

- (array (JSONModel(:name_software) object)) names

View Source


1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
# File 'common/schemas/agent_software.rb', line 1

{
  :schema => {
    "$schema" => "http://www.archivesspace.org/archivesspace.json",
    "version" => 1,
    "type" => "object",
    "parent" => "abstract_agent",
    "uri" => "/agents/software",
    "properties" => {
      "slug" => {"type" => "string"},
      "is_slug_auto" => {"type" => "boolean", "default" => true},
      "display_name" => {
        "type" => "JSONModel(:name_software) object",
        "readonly" => true
      },

      "names" => {
        "type" => "array",
        "items" => {"type" => "JSONModel(:name_software) object"},
        "ifmissing" => "error",
        "minItems" => 1
      },
    },
  },
}

Plain Text Version