addedInput schema / additionalProperties
Added value: +false
addedInput schema / properties / input / additionalProperties
Added value: +false
addedInput schema / properties / input / description
Added value: +"Robots.txt definition for operation \"generate\". Requires a non-empty \"groups\" array."
addedInput schema / properties / input / properties / comment
Added value: +{
+ "description": "Optional comment block prepended as '#' lines.",
+ "type": "string"
+}
addedInput schema / properties / input / properties / groups / description
Added value: +"Rule groups; each must be an object. A group with no user-agents defaults to '*'."
addedInput schema / properties / input / properties / groups / items / properties / allow / description
Added value: +"Allow paths starting with '/' or '*'; a missing leading slash is auto-prefixed and warned."
addedInput schema / properties / input / properties / groups / items / properties / crawlDelay
Added value: +{
+ "description": "Optional non-negative crawl-delay seconds; emitted with a portability warning (Google ignores it).",
+ "minimum": 0,
+ "type": "number"
+}
addedInput schema / properties / input / properties / groups / items / properties / disallow / description
Added value: +"Disallow paths; an empty string means \"allow everything\" per RFC 9309."
addedInput schema / properties / input / properties / groups / items / properties / userAgents / description
Added value: +"User-agent tokens for the group (e.g. Googlebot, '*'); empty defaults to '*'."
removedInput schema / properties / input / properties / groups / items / required
Removed value: -[
- "userAgents",
- "allow",
- "disallow"
-]
addedInput schema / properties / input / properties / groups / minItems
Added value: +1
addedInput schema / properties / input / properties / host
Added value: +{
+ "description": "Optional non-standard Host directive (legacy Yandex).",
+ "type": "string"
+}
addedInput schema / properties / input / properties / sitemaps / description
Added value: +"Optional absolute sitemap URLs; non-absolute values are kept but warned."
changedInput schema / properties / input / required
Previous value: -[
- "groups",
- "sitemaps"
-]New value: +[
+ "groups"
+]
addedInput schema / properties / operation / description
Added value: +"Mode to run. 'generate' needs \"input\"; 'parse' needs \"text\"; 'presets' and 'commonUserAgents' take no other fields."
addedInput schema / properties / operation / enum
Added value: +[
+ "generate",
+ "parse",
+ "presets",
+ "commonUserAgents"
+]
addedInput schema / properties / text
Added value: +{
+ "description": "Existing robots.txt text to parse for operation \"parse\".",
+ "type": "string"
+}
changedInput schema / required
Previous value: -[
- "operation",
- "input"
-]New value: +[
+ "operation"
+]
changedOutput schema / (root)
Previous value: -nullNew value: +{
+ "properties": {
+ "operation": {
+ "description": "Echo of the operation performed.",
+ "type": "string"
+ },
+ "result": {
+ "description": "Payload for the chosen operation. For \"generate\": robotsTxt/warnings/lineCount. For \"parse\": groups/sitemaps/host/comment. For \"presets\" and \"commonUserAgents\" this is instead a JSON array.",
+ "properties": {
+ "comment": {
+ "description": "\"parse\": leading comment block if present.",
+ "type": "string"
+ },
+ "groups": {
+ "description": "\"parse\": reconstructed rule groups.",
+ "items": {
+ "type": "object"
+ },
+ "type": "array"
+ },
+ "host": {
+ "description": "\"parse\": Host directive value if present.",
+ "type": "string"
+ },
+ "lineCount": {
+ "description": "\"generate\": number of emitted lines.",
+ "type": "integer"
+ },
+ "robotsTxt": {
+ "description": "\"generate\": the serialized robots.txt text.",
+ "type": "string"
+ },
+ "sitemaps": {
+ "description": "\"parse\": absolute sitemap URLs found.",
+ "items": {
+ "type": "string"
+ },
+ "type": "array"
+ },
+ "warnings": {
+ "description": "\"generate\": severity-tagged validation notes; empty when clean.",
+ "items": {
+ "properties": {
+ "location": {
+ "description": "Where the warning applies (group/sitemaps/overall).",
+ "type": "string"
+ },
+ "message": {
+ "description": "Human-readable warning text.",
+ "type": "string"
+ },
+ "severity": {
+ "description": "Warning severity.",
+ "enum": [
+ "info",
+ "low",
+ "medium",
+ "high"
+ ],
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
+ "type": "array"
+ }
+ },
+ "type": "object"
+ },
+ "success": {
+ "description": "True when the operation succeeded.",
+ "type": "boolean"
+ }
+ },
+ "type": "object"
+}