mirror of
				https://github.com/NginxProxyManager/nginx-proxy-manager.git
				synced 2025-10-31 07:43:33 +00:00 
			
		
		
		
	
		
			Some checks failed
		
		
	
	Close stale issues and PRs / stale (push) Has been cancelled
				
			also convert almost all cmd execs for certificates to properly escape arguments
		
			
				
	
	
		
			121 lines
		
	
	
		
			2.2 KiB
		
	
	
	
		
			JSON
		
	
	
	
	
	
			
		
		
	
	
			121 lines
		
	
	
		
			2.2 KiB
		
	
	
	
		
			JSON
		
	
	
	
	
	
| {
 | |
| 	"$schema": "https://json-schema.org/draft/2020-12/schema",
 | |
| 	"$id": "common",
 | |
| 	"type": "object",
 | |
| 	"properties": {
 | |
| 		"id": {
 | |
| 			"description": "Unique identifier",
 | |
| 			"readOnly": true,
 | |
| 			"type": "integer",
 | |
| 			"minimum": 1
 | |
| 		},
 | |
| 		"expand": {
 | |
| 			"anyOf": [
 | |
| 				{
 | |
| 					"type": "null"
 | |
| 				},
 | |
| 				{
 | |
| 					"type": "array",
 | |
| 					"minItems": 1,
 | |
| 					"items": {
 | |
| 						"type": "string"
 | |
| 					}
 | |
| 				}
 | |
| 			]
 | |
| 		},
 | |
| 		"query": {
 | |
| 			"anyOf": [
 | |
| 				{
 | |
| 					"type": "null"
 | |
| 				},
 | |
| 				{
 | |
| 					"type": "string",
 | |
| 					"minLength": 1,
 | |
| 					"maxLength": 255
 | |
| 				}
 | |
| 			]
 | |
| 		},
 | |
| 		"created_on": {
 | |
| 			"description": "Date and time of creation",
 | |
| 			"readOnly": true,
 | |
| 			"type": "string"
 | |
| 		},
 | |
| 		"modified_on": {
 | |
| 			"description": "Date and time of last update",
 | |
| 			"readOnly": true,
 | |
| 			"type": "string"
 | |
| 		},
 | |
| 		"user_id": {
 | |
| 			"description": "User ID",
 | |
| 			"type": "integer",
 | |
| 			"minimum": 1
 | |
| 		},
 | |
| 		"certificate_id": {
 | |
| 			"description": "Certificate ID",
 | |
| 			"anyOf": [
 | |
| 				{
 | |
| 					"type": "integer",
 | |
| 					"minimum": 0
 | |
| 				},
 | |
| 				{
 | |
| 					"type": "string",
 | |
| 					"pattern": "^new$"
 | |
| 				}
 | |
| 			]
 | |
| 		},
 | |
| 		"access_list_id": {
 | |
| 			"description": "Access List ID",
 | |
| 			"type": "integer",
 | |
| 			"minimum": 0
 | |
| 		},
 | |
| 		"domain_names": {
 | |
| 			"description": "Domain Names separated by a comma",
 | |
| 			"type": "array",
 | |
| 			"minItems": 1,
 | |
| 			"maxItems": 100,
 | |
| 			"uniqueItems": true,
 | |
| 			"items": {
 | |
| 				"type": "string",
 | |
| 				"pattern": "^[^&| @!#%^();:/\\\\}{=+?<>,~`'\"]+$"
 | |
| 			}
 | |
| 		},
 | |
| 		"enabled": {
 | |
| 			"description": "Is Enabled",
 | |
| 			"type": "boolean"
 | |
| 		},
 | |
| 		"ssl_forced": {
 | |
| 			"description": "Is SSL Forced",
 | |
| 			"type": "boolean"
 | |
| 		},
 | |
| 		"hsts_enabled": {
 | |
| 			"description": "Is HSTS Enabled",
 | |
| 			"type": "boolean"
 | |
| 		},
 | |
| 		"hsts_subdomains": {
 | |
| 			"description": "Is HSTS applicable to all subdomains",
 | |
| 			"type": "boolean"
 | |
| 		},
 | |
| 		"ssl_provider": {
 | |
| 			"type": "string",
 | |
| 			"pattern": "^(letsencrypt|other)$"
 | |
| 		},
 | |
| 		"http2_support": {
 | |
| 			"description": "HTTP2 Protocol Support",
 | |
| 			"type": "boolean"
 | |
| 		},
 | |
| 		"block_exploits": {
 | |
| 			"description": "Should we block common exploits",
 | |
| 			"type": "boolean"
 | |
| 		},
 | |
| 		"caching_enabled": {
 | |
| 			"description": "Should we cache assets",
 | |
| 			"type": "boolean"
 | |
| 		},
 | |
| 		"email": {
 | |
| 			"description": "Email address",
 | |
| 			"type": "string",
 | |
| 			"pattern": "^[A-Za-z0-9._%+-]+@[A-Za-z0-9.-]+\\.[A-Za-z]{2,}$"
 | |
| 		}
 | |
| 	}
 | |
| }
 |