{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/chikocorp-com/json-schema/chikocorp-com-remediation-input-schema.json",
  "title": "RemediationInput",
  "x-generated": "2026-11-03",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/chikocorp-com-x402-preflight-openapi.yml#/components/schemas/RemediationInput",
  "type": "object",
  "additionalProperties": false,
  "required": [
    "resource_url",
    "goal"
  ],
  "properties": {
    "resource_url": {
      "type": "string",
      "format": "uri",
      "pattern": "^https://",
      "maxLength": 500
    },
    "goal": {
      "type": "string",
      "minLength": 1,
      "maxLength": 800
    },
    "contact": {
      "type": "string",
      "maxLength": 300
    },
    "constraints": {
      "type": "string",
      "maxLength": 1000
    },
    "callback_url": {
      "type": "string",
      "format": "uri",
      "pattern": "^https://",
      "maxLength": 2000
    },
    "response_format": {
      "type": "string",
      "enum": [
        "json",
        "markdown",
        "both"
      ],
      "default": "both"
    },
    "language": {
      "type": "string",
      "minLength": 2,
      "maxLength": 20,
      "default": "en"
    }
  }
}