{
  "$schema": "http://json-schema.org/draft-04/schema#",
  "properties": {
    "url": {
      "title": "URL to check",
      "description": "URL to check, like https://example.com",
      "type": "string"
    },
    "check-status-code": {
      "default": "Master default",
      "title": "Default Check HTTP Code.",
      "description": "HTTP code to check against (default: comes from master partition).",
      "type": "string"
    },
    "check-http-header-dict": {
      "default": "Master default",
      "title": "HTTP header dict to check",
      "description": "JSON dict of expected HTTP header, like {\"Cache-Control\": \"max-age=3600, public\", \"Vary\": \"Accept-Encoding\"}",
      "type": "object"
    },
    "check-frontend-ip": {
      "default": "Master default",
      "title": "Space separated list of Frontend IPs to check",
      "description": "List of Frontend IPs to check, if empty no constraint is used (default: comes from master partition).",
      "type": "string"
    },
    "check-certificate-expiration-days": {
      "default": "Master default",
      "title": "Certificate expiration days check",
      "description": "Amount of days to consider certificate as being to-be-expired (default: comes from master partition).",
      "type": "string"
    },
    "check-maximum-elapsed-time": {
      "default": "Master default",
      "title": "Maximum elapsed time for a site to reply (seconds)",
      "description": "Maximum elapsed time for a site to reply to be considered good.(default: comes from master partition).",
      "type": "string"
    },
    "failure-amount": {
      "default": "Master default",
      "title": "Amount of failures to consider URL as in bad state",
      "description": "Amount of failures to consider URL as in bad state, can be set to higher value for endpoints with accepted short outages (default: comes from master partition).",
      "type": "string"
    }
  }
}
