optionalProperty
open /validator.html
type json {
  "number": "1.4"
}
type schema {
  "type":"object",
  "properties":{
    "number":{"type":"string","optional":false}
  }
}
click bt-validate-js
waitForTextPresent JSON:
verifyTextPresent JSON: VALID
click bt-validate-php
waitForTextPresent JSON:
verifyTextPresent JSON: VALID
type json {}
click bt-validate-js
waitForTextPresent JSON:
verifyTextPresent JSON: INVALID
click bt-validate-php
waitForTextPresent JSON:
verifyTextPresent JSON: INVALID