JSON Schema: File_version

URI Template

Properties

- (string) identifier

- (string (max length: 16384)) file_uri

- (boolean) publish

- (string) use_statement

- (string) xlink_actuate_attribute

- (string) xlink_show_attribute

- (string) file_format_name

- (string (max length: 255)) file_format_version

- (integer) file_size_bytes

- (boolean) is_representative

- (string (max length: 255)) checksum

- (string) checksum_method

- (string (max length: 16384)) caption

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
# File 'common/schemas/file_version.rb', line 1

{
  :schema => {
    "$schema" => "http://www.archivesspace.org/archivesspace.json",
    "version" => 1,
    "type" => "object",
    "properties" => {
      "identifier" => {"type" => "string", "readonly" => true},
      "file_uri" => {"type" => "string", "maxLength" => 16384, "ifmissing" => "error"},
      "publish" => {"type" => "boolean"},
      "use_statement" => {"type" => "string", "dynamic_enum" => "file_version_use_statement"},

      "xlink_actuate_attribute" => {"type" => "string", "dynamic_enum" => "file_version_xlink_actuate_attribute"},

      "xlink_show_attribute" => {"type" => "string", "dynamic_enum" => "file_version_xlink_show_attribute"},


      "file_format_name" => {"type" => "string", "dynamic_enum" => "file_version_file_format_name"},
      "file_format_version" => {"type" => "string", "maxLength" => 255},
      "file_size_bytes" => {"type" => "integer"},
      "is_representative" => {"type" => "boolean", "default" => false},

      "checksum" => {"type" => "string", "maxLength" => 255},
      "checksum_method" => {"type" => "string", "dynamic_enum" => "file_version_checksum_methods"},
      "caption" => {"type" => "string", "maxLength" => 16384},
    },
  },
}

Plain Text Version