JSON Schema: Telephone

URI Template

/telephone

Properties

- (string) uri

- (string (max length: 65000)) number

- (string (max length: 65000)) ext

- (string) number_type

View Source


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

{
  :schema => {
    "$schema" => "http://www.archivesspace.org/archivesspace.json",
    "version" => 1,
    "type" => "object",
    "uri" => "/telephone",
    "properties" => {
      "uri" => {"type" => "string", "required" => false},
      "number" => {"type" => "string", "maxLength" => 65000},
      "ext" => {"type" => "string", "maxLength" => 65000},
      'number_type' => { 'type' => 'string', 'required' => false, "dynamic_enum" => 'telephone_number_type' }
    },
  },
}

Plain Text Version