{
	"type": "object",
	"description": "Certificate object",
	"required": ["id", "created_on", "modified_on", "owner_user_id", "provider", "nice_name", "domain_names", "expires_on", "meta"],
	"additionalProperties": false,
	"properties": {
		"id": {
			"$ref": "../common.json#/properties/id"
		},
		"created_on": {
			"$ref": "../common.json#/properties/created_on"
		},
		"modified_on": {
			"$ref": "../common.json#/properties/modified_on"
		},
		"owner_user_id": {
			"$ref": "../common.json#/properties/user_id"
		},
		"provider": {
			"$ref": "../common.json#/properties/ssl_provider"
		},
		"nice_name": {
			"type": "string",
			"description": "Nice Name for the custom certificate"
		},
		"domain_names": {
			"$ref": "../common.json#/properties/domain_names"
		},
		"expires_on": {
			"description": "Date and time of expiration",
			"readOnly": true,
			"type": "string"
		},
		"meta": {
			"type": "object",
			"additionalProperties": false,
			"properties": {
				"letsencrypt_email": {
					"type": "string"
				},
				"letsencrypt_agree": {
					"type": "boolean"
				},
				"dns_challenge": {
					"type": "boolean"
				},
				"dns_provider": {
					"type": "string"
				},
				"dns_provider_credentials": {
					"type": "string"
				},
				"propagation_seconds": {
					"anyOf": [
						{
							"type": "integer",
							"minimum": 0
						}
					]
				}
			}
		}
	}
}
