Skip to content

Commit

Permalink
Update the schema.
Browse files Browse the repository at this point in the history
  • Loading branch information
johnbillion committed Jun 3, 2022
1 parent 1f2e89f commit 3a53418
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion hooks/schema.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"$schema": "http://json-schema.org/draft-07/schema#",
"$id": "https://raw.githubusercontent.com/johnbillion/wp-hooks/0.9.0/hooks/schema.json",
"$id": "https://github.com/johnbillion/wp-hooks-generator/blob/0.8.0/schema.json",
"title": "HooksContainer",
"description": "The container for the list of hooks",
"type": "object",
Expand Down Expand Up @@ -41,6 +41,13 @@
"init"
]
},
"aliases": {
"description": "Aliases of the hook name",
"type": "array",
"items": {
"type": "string"
}
},
"file": {
"description": "The relative name of the file containing the hook",
"type": "string",
Expand Down

0 comments on commit 3a53418

Please sign in to comment.