Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
erosb committed Feb 3, 2019
2 parents dd45560 + 50ee60c commit c52f328
Show file tree
Hide file tree
Showing 3 changed files with 42 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
{
"$schema": "http://json-schema.org/draft-06/schema#",
"type": "object",
"properties": {
"events": {
"type": "array",
"items": {
"oneOf": [
{
"$ref": "#event"
}
]
}
}
},
"additionalProperties": false,
"required": [
"events"
],
"definitions": {
"event": {
"$id": "#event",
"type": "object",
"properties": {
"name": {
"type": "string"
}
}
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
{
"events": [
{
"name": "example"
}
]
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
{
"metaSchemaVersion": 6
}

0 comments on commit c52f328

Please sign in to comment.