| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227 | 
							- {
 
-   "$schema": "http://json-schema.org/draft-07/schema#",
 
-   "$id": "definitions",
 
-   "definitions": {
 
-     "id": {
 
-       "description": "Unique identifier",
 
-       "example": 123456,
 
-       "readOnly": true,
 
-       "type": "integer",
 
-       "minimum": 1
 
-     },
 
-     "setting_id": {
 
-       "description": "Unique identifier for a Setting",
 
-       "example": "default-site",
 
-       "readOnly": true,
 
-       "type": "string",
 
-       "minLength": 2
 
-     },
 
-     "token": {
 
-       "type": "string",
 
-       "minLength": 10
 
-     },
 
-     "expand": {
 
-       "anyOf": [
 
-         {
 
-           "type": "null"
 
-         },
 
-         {
 
-           "type": "array",
 
-           "minItems": 1,
 
-           "items": {
 
-             "type": "string"
 
-           }
 
-         }
 
-       ]
 
-     },
 
-     "sort": {
 
-       "type": "array",
 
-       "minItems": 1,
 
-       "items": {
 
-         "type": "object",
 
-         "required": [
 
-           "field",
 
-           "dir"
 
-         ],
 
-         "additionalProperties": false,
 
-         "properties": {
 
-           "field": {
 
-             "type": "string"
 
-           },
 
-           "dir": {
 
-             "type": "string",
 
-             "pattern": "^(asc|desc)$"
 
-           }
 
-         }
 
-       }
 
-     },
 
-     "query": {
 
-       "anyOf": [
 
-         {
 
-           "type": "null"
 
-         },
 
-         {
 
-           "type": "string",
 
-           "minLength": 1,
 
-           "maxLength": 255
 
-         }
 
-       ]
 
-     },
 
-     "criteria": {
 
-       "anyOf": [
 
-         {
 
-           "type": "null"
 
-         },
 
-         {
 
-           "type": "object"
 
-         }
 
-       ]
 
-     },
 
-     "fields": {
 
-       "anyOf": [
 
-         {
 
-           "type": "null"
 
-         },
 
-         {
 
-           "type": "array",
 
-           "minItems": 1,
 
-           "items": {
 
-             "type": "string"
 
-           }
 
-         }
 
-       ]
 
-     },
 
-     "omit": {
 
-       "anyOf": [
 
-         {
 
-           "type": "null"
 
-         },
 
-         {
 
-           "type": "array",
 
-           "minItems": 1,
 
-           "items": {
 
-             "type": "string"
 
-           }
 
-         }
 
-       ]
 
-     },
 
-     "created_on": {
 
-       "description": "Date and time of creation",
 
-       "format": "date-time",
 
-       "readOnly": true,
 
-       "type": "string"
 
-     },
 
-     "modified_on": {
 
-       "description": "Date and time of last update",
 
-       "format": "date-time",
 
-       "readOnly": true,
 
-       "type": "string"
 
-     },
 
-     "user_id": {
 
-       "description": "User ID",
 
-       "example": 1234,
 
-       "type": "integer",
 
-       "minimum": 1
 
-     },
 
-     "certificate_id": {
 
-       "description": "Certificate ID",
 
-       "example": 1234,
 
-       "anyOf": [
 
-         {
 
-           "type": "integer",
 
-           "minimum": 0
 
-         },
 
-         {
 
-           "type": "string",
 
-           "pattern": "^new$"
 
-         }
 
-       ]
 
-     },
 
-     "access_list_id": {
 
-       "description": "Access List ID",
 
-       "example": 1234,
 
-       "type": "integer",
 
-       "minimum": 0
 
-     },
 
-     "name": {
 
-       "type": "string",
 
-       "minLength": 1,
 
-       "maxLength": 255
 
-     },
 
-     "email": {
 
-       "description": "Email Address",
 
-       "example": "[email protected]",
 
-       "format": "email",
 
-       "type": "string",
 
-       "minLength": 8,
 
-       "maxLength": 100
 
-     },
 
-     "password": {
 
-       "description": "Password",
 
-       "type": "string",
 
-       "minLength": 8,
 
-       "maxLength": 255
 
-     },
 
-     "domain_name": {
 
-       "description": "Domain Name",
 
-       "example": "jc21.com",
 
-       "type": "string",
 
-       "pattern": "^(?:[^.*]+\\.?)+[^.]$"
 
-     },
 
-     "domain_names": {
 
-       "description": "Domain Names separated by a comma",
 
-       "example": "*.jc21.com,blog.jc21.com",
 
-       "type": "array",
 
-       "maxItems": 15,
 
-       "uniqueItems": true,
 
-       "items": {
 
-         "type": "string",
 
-         "pattern": "^(?:\\*\\.)?(?:[^.*]+\\.?)+[^.]$"
 
-       }
 
-     },
 
-     "enabled": {
 
-       "description": "Is Enabled",
 
-       "example": true,
 
-       "type": "boolean"
 
-     },
 
-     "ssl_enabled": {
 
-       "description": "Is SSL Enabled",
 
-       "example": true,
 
-       "type": "boolean"
 
-     },
 
-     "ssl_forced": {
 
-       "description": "Is SSL Forced",
 
-       "example": false,
 
-       "type": "boolean"
 
-     },
 
-     "hsts_enabled": {
 
-       "description": "Is HSTS Enabled",
 
-       "example": false,
 
-       "type": "boolean"
 
-     },
 
-     "hsts_subdomains": {
 
-       "description": "Is HSTS applicable to all subdomains",
 
-       "example": false,
 
-       "type": "boolean"
 
-     },
 
-     "ssl_provider": {
 
-       "type": "string",
 
-       "pattern": "^(letsencrypt|other)$"
 
-     },
 
-     "http2_support": {
 
-       "description": "HTTP2 Protocol Support",
 
-       "example": false,
 
-       "type": "boolean"
 
-     },
 
-     "block_exploits": {
 
-       "description": "Should we block common exploits",
 
-       "example": true,
 
-       "type": "boolean"
 
-     },
 
-     "caching_enabled": {
 
-       "description": "Should we cache assets",
 
-       "example": true,
 
-       "type": "boolean"
 
-     }
 
-   }
 
- }
 
 
  |