changedOutput schema / (root)
Previous value: -nullNew value: +{
+ "$schema": "http://json-schema.org/draft-07/schema#",
+ "additionalProperties": true,
+ "description": "TLS certificate details for the host.",
+ "properties": {
+ "data": {
+ "additionalProperties": true,
+ "properties": {
+ "altNames": {
+ "description": "Subject Alternative Names (hostnames the cert covers).",
+ "items": {
+ "type": "string"
+ },
+ "type": "array"
+ },
+ "authorizationError": {
+ "description": "Why validation failed, e.g. CERT_HAS_EXPIRED.",
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "authorized": {
+ "description": "Chain validates against public roots and matches the hostname.",
+ "type": "boolean"
+ },
+ "chain": {
+ "description": "Leaf first, then intermediates and root.",
+ "items": {
+ "additionalProperties": true,
+ "properties": {
+ "issuer": {
+ "$ref": "#/properties/data/properties/subject"
+ },
+ "subject": {
+ "$ref": "#/properties/data/properties/subject"
+ },
+ "validFrom": {
+ "type": "string"
+ },
+ "validTo": {
+ "type": "string"
+ }
+ },
+ "required": [
+ "subject",
+ "issuer",
+ "validFrom",
+ "validTo"
+ ],
+ "type": "object"
+ },
+ "type": "array"
+ },
+ "cipher": {
+ "anyOf": [
+ {
+ "additionalProperties": true,
+ "properties": {
+ "name": {
+ "type": "string"
+ },
+ "version": {
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "daysUntilExpiry": {
+ "description": "Negative once expired.",
+ "type": "number"
+ },
+ "expired": {
+ "type": "boolean"
+ },
+ "fingerprint256": {
+ "type": "string"
+ },
+ "host": {
+ "type": "string"
+ },
+ "issuer": {
+ "$ref": "#/properties/data/properties/subject"
+ },
+ "port": {
+ "type": "number"
+ },
+ "protocol": {
+ "description": "Negotiated TLS version, e.g. TLSv1.3.",
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "pubkeyBits": {
+ "type": "number"
+ },
+ "serialNumber": {
+ "type": "string"
+ },
+ "signatureAlgorithm": {
+ "type": "string"
+ },
+ "subject": {
+ "additionalProperties": true,
+ "properties": {
+ "C": {
+ "type": "string"
+ },
+ "CN": {
+ "type": "string"
+ },
+ "L": {
+ "type": "string"
+ },
+ "O": {
+ "type": "string"
+ },
+ "OU": {
+ "type": "string"
+ },
+ "ST": {
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
+ "validFrom": {
+ "description": "ISO 8601.",
+ "type": "string"
+ },
+ "validTo": {
+ "description": "ISO 8601.",
+ "type": "string"
+ }
+ },
+ "required": [
+ "host",
+ "port",
+ "authorized",
+ "expired",
+ "daysUntilExpiry",
+ "subject",
+ "issuer",
+ "validFrom",
+ "validTo",
+ "altNames",
+ "chain"
+ ],
+ "type": "object"
+ },
+ "ok": {
+ "description": "Always true here; failures return an isError result instead.",
+ "type": "boolean"
+ }
+ },
+ "required": [
+ "ok",
+ "data"
+ ],
+ "type": "object"
+}