
Adds JSON schema validation to Spyglass. Change-Id: Ib29bbf9fa02cd6623c75db37a4c8d6f510b52831
11 lines
327 B
YAML
11 lines
327 B
YAML
---
|
|
schema: InvalidSchema
|
|
foo: Not a number
|
|
bar: "Doesn't equal constant"
|
|
baz:
|
|
staticProperty:
|
|
- This array needs at least one number
|
|
property1: The propertyNames keyword is an alternative to patternProperties
|
|
pr()perty2: "All property names must match supplied conditions (in this"
|
|
"case, it's a regex)"
|