mirror of
https://github.com/certbot/certbot.git
synced 2026-01-26 07:41:33 +03:00
76 lines
2.5 KiB
JSON
76 lines
2.5 KiB
JSON
{
|
|
"id": "https://lets-encrypt.org/schema/01/responseobject#",
|
|
"$schema": "http://json-schema.org/draft-04/schema#",
|
|
"description": "Subschema for an individual challenge response (within authorizationRequest)",
|
|
"anyOf": [
|
|
{ "type": "object",
|
|
"required": ["type", "path"],
|
|
"properties": {
|
|
"type": {
|
|
"enum" : [ "simpleHttps" ]
|
|
},
|
|
"path": {
|
|
"type": "string"
|
|
}
|
|
}
|
|
},
|
|
{ "type": "object",
|
|
"required": ["type", "s"],
|
|
"properties": {
|
|
"type": {
|
|
"enum" : [ "dvsni" ]
|
|
},
|
|
"s": {
|
|
"type" : [ "string" ],
|
|
"pattern": "^[-_=0-9A-Za-z]+$"
|
|
}
|
|
}
|
|
},
|
|
{ "type": "object",
|
|
"required": ["type"],
|
|
"properties": {
|
|
"type": {
|
|
"enum" : [ "recoveryContact" ]
|
|
},
|
|
"token": {
|
|
"type" : "string"
|
|
}
|
|
}
|
|
},
|
|
{ "type": "object",
|
|
"required": ["type"],
|
|
"properties": {
|
|
"type": {
|
|
"enum" : [ "recoveryToken" ]
|
|
},
|
|
"token": {
|
|
"type" : "string"
|
|
}
|
|
}
|
|
},
|
|
{ "type": "object",
|
|
"required": ["type", "nonce", "signature"],
|
|
"properties": {
|
|
"type": {
|
|
"enum" : [ "proofOfPossession" ]
|
|
},
|
|
"nonce": {
|
|
"type": "string",
|
|
"pattern": "^[-_=0-9A-Za-z]+$"
|
|
},
|
|
"signature": {
|
|
"$ref": "file:letsencrypt/client/schemata/signature.json"
|
|
}
|
|
}
|
|
},
|
|
{ "type": "object",
|
|
"required": ["type"],
|
|
"properties": {
|
|
"type": {
|
|
"enum" : [ "dns" ]
|
|
}
|
|
}
|
|
}
|
|
]
|
|
}
|