
Adds JSON schema validation to Spyglass. Change-Id: Ib29bbf9fa02cd6623c75db37a4c8d6f510b52831
21 lines
346 B
YAML
21 lines
346 B
YAML
---
|
|
metadata:
|
|
name: InvalidSchema
|
|
type: object
|
|
properties:
|
|
foo:
|
|
type: number
|
|
bar:
|
|
const: Must equal this value
|
|
baz:
|
|
type: object
|
|
properties:
|
|
staticProperty:
|
|
type: array
|
|
contains:
|
|
type: number
|
|
propertyNames:
|
|
pattern: "^([0-9a-zA-Z]*)$"
|
|
additionalProperties:
|
|
type: string
|