JSON Schema: Vocabulary
URI Template
/vocabularies
Properties
- (string) uri
- (string (max length: 255)) ref_id
- (string (max length: 255)) name
- (array (JSONModel(:term) uri)) terms
View Source
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 |
# File 'common/schemas/vocabulary.rb', line 1 { :schema => { "$schema" => "http://www.archivesspace.org/archivesspace.json", "version" => 1, "type" => "object", "uri" => "/vocabularies", "properties" => { "uri" => {"type" => "string", "required" => false}, "ref_id" => {"type" => "string", "maxLength" => 255, "minLength" => 1, "ifmissing" => "error"}, "name" => {"type" => "string", "maxLength" => 255, "minLength" => 1, "ifmissing" => "error"}, "terms" => {"type" => "array", "items" => {"type" => "JSONModel(:term) uri"}, "readonly" => true}, }, }, } |
Plain Text Version