JSON Schema: Agent_resource
URI Template
Properties
- (boolean) publish
- (string) linked_agent_role
- (string (max length: 65000)) linked_resource
- (string (max length: 65000)) linked_resource_description
- (string (max length: 65000)) file_uri
- (string) file_version_xlink_actuate_attribute
- (string) file_version_xlink_show_attribute
- (string (max length: 65000)) xlink_title_attribute
- (string (max length: 65000)) xlink_role_attribute
- (string (max length: 65000)) xlink_arcrole_attribute
- (date-time) last_verified_date
- (array (JSONModel(:structured_date_label) object)) dates
- (array (Object (ref, _resolved))) places
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 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 |
# File 'common/schemas/agent_resource.rb', line 1 { :schema => { "$schema" => "http://www.archivesspace.org/archivesspace.json", "version" => 1, "type" => "object", "properties" => { "publish" => {"type" => "boolean"}, "linked_agent_role" => {"type" => "string", "dynamic_enum" => "linked_agent_role", "ifmissing" => "error", "required" => true}, "linked_resource" => {"type" => "string", "maxLength" => 65000, "ifmissing" => "error", "required" => true}, "linked_resource_description" => {"type" => "string", "maxLength" => 65000}, "file_uri" => {"type" => "string", "maxLength" => 65000}, "file_version_xlink_actuate_attribute" => { "type" => "string", "dynamic_enum" => "file_version_xlink_actuate_attribute", "required" => false }, "file_version_xlink_show_attribute" => { "type" => "string", "dynamic_enum" => "file_version_xlink_show_attribute", "required" => false }, "xlink_title_attribute" => {"type" => "string", "maxLength" => 65000}, "xlink_role_attribute" => {"type" => "string", "maxLength" => 65000}, "xlink_arcrole_attribute" => {"type" => "string", "maxLength" => 65000}, "last_verified_date" => {"type" => "date-time"}, "dates" => { "type" => "array", "items" => {"type" => "JSONModel(:structured_date_label) object"} }, "places" => { "type" => "array", "items" => { "type" => "object", "subtype" => "ref", "properties" => { "ref" => { "type" => "JSONModel(:subject) uri", "ifmissing" => "error" }, "_resolved" => { "type" => "object", "readonly" => "true" } } } } }, }, } |
Plain Text Version