         email:
           type: "string"
 
-{valid} = validator.validate_schema "urn:jsck.examples.basic#", document
+{valid} = validator.validate_schema "urn:jsck.examples.advanced#",
+  login: "automatthew"
+  email: "automatthew@mailinator.com"
+
 console.log "Schema with id:", valid
 
 

  login: "automatthew"
  email: "automatthew@mailinator.com"

{valid} = validator.validate_schema "urn:jsck.examples.basic#/definitions/user", document
console.log "Schema identified by JSON Pointer:", valid

# a schema declaring a URI with "id"

validator = new Validator
  id: "urn:jsck.examples.advanced#"
  definitions:
    user:
      type: "object"
