JSON Schema: Language_and_script

URI Template

Properties

- (string) language

- (string) script

View Source


1
2
3
4
5
6
7
8
9
10
11
12
# File 'common/schemas/language_and_script.rb', line 1

{
  :schema => {
    "$schema" => "http://www.archivesspace.org/archivesspace.json",
    "version" => 1,
    "type" => "object",

     "properties" => {
      "language" => {"type" => "string", "dynamic_enum" => "language_iso639_2", "ifmissing" => "error"},
      "script" => {"type" => "string", "dynamic_enum" => "script_iso15924"}
    },
  },
}

Plain Text Version