{
  "$id": "https://firefox-ci-tc.services.mozilla.com/schemas/hooks/v1/hook-metadata.json#",
  "$schema": "https://firefox-ci-tc.services.mozilla.com/schemas/common/metaschema.json#",
  "additionalProperties": false,
  "properties": {
    "description": {
      "description": "Long-form of the hook's purpose and behavior",
      "maxLength": 32768,
      "title": "Description",
      "type": "string"
    },
    "emailOnError": {
      "default": true,
      "description": "Whether to email the owner on an error creating the task.",
      "title": "Email on error",
      "type": "boolean"
    },
    "name": {
      "description": "Human readable name of the hook",
      "maxLength": 255,
      "title": "Name",
      "type": "string"
    },
    "owner": {
      "description": "Email of the person or group responsible for this hook.",
      "format": "email",
      "maxLength": 255,
      "title": "Owner",
      "type": "string"
    }
  },
  "required": [
    "name",
    "description",
    "owner"
  ],
  "title": "Hook Metadata",
  "type": "object"
}