   type: "array"
   items: {$ref: "urn:jsck.examples.advanced#/definitions/user"}
 
-schema = jsck.validator "urn:jsck.examples.user_list#"
-{valid} = schema.validate [
+validator = jsck.validator "urn:jsck.examples.user_list#"
+{valid} = validator.validate [
   { login: "dyoder" }
   { login: "automatthew" }
 ]


# validating against a subschema using a JSON Pointer

schema = jsck.validator "urn:jsck.examples.advanced#/definitions/user"
{valid} = schema.validate
  login: "automatthew"
  email: "automatthew@mailinator.com"


        email:
          type: "string"

validator = jsck.validator(uri: "urn:jsck.examples.advanced#")
{valid} = validator.validate
  login: "automatthew"
  email: "automatthew@mailinator.com"

