NIHVIVO-1022 Made organization type and label required on position history form

This commit is contained in:
rjy7 2010-09-07 16:21:13 +00:00
parent 74daa5fd58
commit 61059399b4

View file

@ -148,9 +148,10 @@
"predicate" : ["predicate", "${predicateUriJson}" ], "predicate" : ["predicate", "${predicateUriJson}" ],
"object" : ["position", "${objectUriJson}", "URI" ], "object" : ["position", "${objectUriJson}", "URI" ],
"n3required" : [ "${n3ForNewPosition}", "${positionTitleAssertion}", "${positionTypeAssertion}", "${startYearAssertion}" ], "n3required" : [ "${n3ForNewPosition}", "${positionTitleAssertion}", "${positionTypeAssertion}",
"${orgLabelAssertion}", "${orgTypeAssertion}", "${startYearAssertion}" ],
"n3optional" : [ "${orgLabelAssertion}", "${orgTypeAssertion}", "${endYearAssertion}" ], "n3optional" : [ "${endYearAssertion}" ],
"newResources" : { "position" : "${defaultNamespace}", "newResources" : { "position" : "${defaultNamespace}",
"org" : "${defaultNamespace}" }, "org" : "${defaultNamespace}" },
@ -209,7 +210,7 @@
}, },
"orgLabel" : { "orgLabel" : {
"newResource" : "false", "newResource" : "false",
"validators" : [ ], "validators" : [ "nonempty" ],
"optionsType" : "UNDEFINED", "optionsType" : "UNDEFINED",
"literalOptions" : [ ], "literalOptions" : [ ],
"predicateUri" : "", "predicateUri" : "",
@ -220,7 +221,7 @@
}, },
"orgType" : { "orgType" : {
"newResource" : "false", "newResource" : "false",
"validators" : [ ], "validators" : [ "nonempty" ],
"optionsType" : "CHILD_VCLASSES", "optionsType" : "CHILD_VCLASSES",
"literalOptions" : [ "Select one" ], "literalOptions" : [ "Select one" ],
"predicateUri" : "", "predicateUri" : "",