Skip to content

Commit

Permalink
Merge pull request #170 from hudmol/40823763-location-indicator
Browse files Browse the repository at this point in the history
Remove alphanumeric validation from container location indicator fields.

Delivers https://www.pivotaltracker.com/projects/386247#!/stories/40823763
  • Loading branch information
payten committed Dec 7, 2012
2 parents 8fba143 + 5d06938 commit 49dc53f
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions common/schemas/location.rb
Expand Up @@ -16,13 +16,13 @@
"classification" => {"type" => "string", "required" => false},

"coordinate_1_label" => {"type" => "string", "required" => false},
"coordinate_1_indicator" => {"type" => "string", "required" => false, "pattern" => "^[a-zA-Z0-9]*$"},
"coordinate_1_indicator" => {"type" => "string", "required" => false},

"coordinate_2_label" => {"type" => "string", "required" => false},
"coordinate_2_indicator" => {"type" => "string", "required" => false, "pattern" => "^[a-zA-Z0-9]*$"},
"coordinate_2_indicator" => {"type" => "string", "required" => false},

"coordinate_3_label" => {"type" => "string", "required" => false},
"coordinate_3_indicator" => {"type" => "string", "required" => false, "pattern" => "^[a-zA-Z0-9]*$"},
"coordinate_3_indicator" => {"type" => "string", "required" => false},

"temporary" => {"type" => "string", "enum" => ["conservation", "exhibit", "loan", "reading_room"]},

Expand Down

0 comments on commit 49dc53f

Please sign in to comment.