# rye:signed:2026-04-10T03:28:17Z:00bcffe2295aab7e25725048d09148c5f5de573e5ab9499d7013a58280bf883d:guXt8xzEWhYNtoc_xiM1q0KFWJAjTHqy2om4Nkdy0ABjevCVLwXFSaPjBt1dNFzrDVV8TIpSIUDFqVOO17AcCg:6ea18199041a1ea8
version: "1.0.0"
tool_type: config-schema
executor_id: null
category: rye/core/remote
description: "Schema for remotes/remotes.yaml — named remotes configuration"

target_config: remotes/remotes.yaml

schema:
  type: object
  properties:
    project_name:
      type: string
    defaults:
      type: object
      properties:
        timeout:
          type: integer
          description: "Request timeout in seconds, applied to all remotes"
      required: [timeout]
    remotes:
      type: object
      additionalProperties:
        type: object
        properties:
          url:
            type: string
          key_env:
            type: string
          timeout:
            type: integer
            description: "Per-remote timeout override in seconds"
          roles:
            type: array
            items:
              type: string
  required: [defaults]
