JSON Schema: Required_fields
URI Template
/repositories/:repo_id/required_fields/:record_type
Properties
- (string) uri
- (string) record_type
- (array (JSONModel(:subrecord_requirement) object)) subrecord_requirements
View Source
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 |
# File 'common/schemas/required_fields.rb', line 1 { :schema => { "$schema" => "http://www.archivesspace.org/archivesspace.json", "version" => 1, "type" => "object", "uri" => "/repositories/:repo_id/required_fields/: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']}, "subrecord_requirements" => { "type" => "array", "items" => {"type" => "JSONModel(:subrecord_requirement) object"}, }, }, }, } |
Plain Text Version