JSON Schema: Agent_person
URI Template
/agents/people
Properties
- (array (JSONModel(:name_person) object)) names
- (JSONModel(:name_person) object) display_name
- (array ([{"type"=>"JSONModel(:agent_relationship_parentchild) object"}, {"type"=>"JSONModel(:agent_relationship_earlierlater) object"}, {"type"=>"JSONModel(:agent_relationship_associative) object"}])) related_agents
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 25 26 27 28 29 30 31 |
# File 'common/schemas/agent_person.rb', line 1 { :schema => { "$schema" => "http://www.archivesspace.org/archivesspace.json", "version" => 1, "type" => "object", "parent" => "abstract_agent", "uri" => "/agents/people", "properties" => { "names" => { "type" => "array", "items" => {"type" => "JSONModel(:name_person) object"}, "ifmissing" => "error", "minItems" => 1 }, "display_name" => { "type" => "JSONModel(:name_person) object", "readonly" => true }, "related_agents" => { "type" => "array", "items" => { "type" => [{"type" => "JSONModel(:agent_relationship_parentchild) object"}, {"type" => "JSONModel(:agent_relationship_earlierlater) object"}, {"type" => "JSONModel(:agent_relationship_associative) object"}], } }, }, }, } |
Plain Text Version