JSON Schema: Default_values

URI Template

/repositories/:repo_id/default_values/:record_type

Properties

- (string) uri

- (string) record_type

- (object) defaults

View Source


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

{
  :schema => {
    "$schema" => "http://www.archivesspace.org/archivesspace.json",
    "version" => 1,
    "type" => "object",
    "uri" => "/repositories/:repo_id/default_values/:record_type",
    "properties" => {
      "uri" => {"type" => "string", "required" => false},
      "record_type" => {"type" => "string", "ifmissing" => "error", "enum" => ['archival_object', 'digital_object_component', 'resource', 'accession', 'subject', 'digital_object', 'agent_person', 'agent_family', 'agent_software', 'agent_corporate_entity', 'event', 'location', 'classification', 'classification_term']},
      "defaults" => {"type" => "object"},
    },
  },
}

Plain Text Version