JSON Schema: Agent_contact
URI Template
Properties
- (string (max length: 65000)) name
- (string) salutation
- (string (max length: 65000)) address_1
- (string (max length: 65000)) address_2
- (string (max length: 65000)) address_3
- (string (max length: 65000)) city
- (string (max length: 65000)) region
- (string (max length: 65000)) country
- (string (max length: 65000)) post_code
- (array (JSONModel(:telephone) object)) telephones
- (string (max length: 65000)) fax
- (string (max length: 65000)) email
- (string (max length: 65000)) email_signature
- (array ([{"type"=>"JSONModel(:note_contact_note) object"}, {"type"=>"JSONModel(:note_chronology) object"}])) notes
- (boolean) is_representative
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 32 33 |
# File 'common/schemas/agent_contact.rb', line 1 { :schema => { "$schema" => "http://www.archivesspace.org/archivesspace.json", "version" => 1, "type" => "object", "properties" => { "name" => {"type" => "string", "maxLength" => 65000, "ifmissing" => "error"}, "salutation" => {"type" => "string", "dynamic_enum" => "agent_contact_salutation"}, "address_1" => {"type" => "string", "maxLength" => 65000}, "address_2" => {"type" => "string", "maxLength" => 65000}, "address_3" => {"type" => "string", "maxLength" => 65000}, "city" => {"type" => "string", "maxLength" => 65000}, "region" => {"type" => "string", "maxLength" => 65000}, "country" => {"type" => "string", "maxLength" => 65000}, "post_code" => {"type" => "string", "maxLength" => 65000}, "telephones" =>{ "type" => "array", "items" => {"type" => "JSONModel(:telephone) object"} }, "fax" => {"type" => "string", "maxLength" => 65000}, "email" => {"type" => "string", "maxLength" => 65000}, "email_signature" => {"type" => "string", "maxLength" => 65000}, "notes" => { "type" => "array", "items" => {"type" => [{"type" => "JSONModel(:note_contact_note) object"}, {"type" => "JSONModel(:note_chronology) object"}]}, }, "is_representative" => {"type" => "boolean", "default" => false}, }, }, } |
Plain Text Version