JSON Schema: Repository_with_agent

URI Template

/repositories/with_agent

Properties

- (string) uri

- (JSONModel(:repository) object) repository

- (JSONModel(:agent_corporate_entity) object) agent_representation

View Source


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

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

      "repository" => {"type" => "JSONModel(:repository) object", "ifmissing" => "error"},
      "agent_representation" => {"type" => "JSONModel(:agent_corporate_entity) object"},
    },
  },
}

Plain Text Version