Skip to content

Commit

Permalink
new schema
Browse files Browse the repository at this point in the history
  • Loading branch information
mmussett committed Jul 31, 2024
1 parent 9b29cad commit 6222e07
Showing 1 changed file with 21 additions and 0 deletions.
21 changes: 21 additions & 0 deletions schemas/test2.schema.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
{
"$id": "https://https://github.com/mmussett/flogo-hello-world-event-driven/schemas/event.schema.json",
"$schema": "http://json-schema.org/draft-04/schema#",
"description":"A representation of a greeting event",
"title": "Greeting Schema",
"type": "object",
"properties": {
"greeting": {
"type": "string",
"description":"A simple greeting string",
"examples": ["john doe", "mike smith"],
"maxLength":255,
"minLength": 1
}
},
"version":"1.0.0",
"required": [
"greeting"
]
}

0 comments on commit 6222e07

Please sign in to comment.