{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/git-top/json-schema/git-top-agent-map-response-schema.json",
  "title": "AgentMapResponse",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/git-top-agent-map-api-openapi.yml#/components/schemas/AgentMapResponse",
  "type": "object",
  "required": [
    "surfaces",
    "short_path",
    "reference_path",
    "trust_policy"
  ],
  "properties": {
    "name": {
      "type": "string"
    },
    "positioning": {
      "type": "string"
    },
    "purpose": {
      "type": "string"
    },
    "production_base_url": {
      "type": "string"
    },
    "rest_base_url": {
      "type": "string"
    },
    "mcp_endpoint": {
      "type": "string"
    },
    "openapi_url": {
      "type": "string"
    },
    "schema_url": {
      "type": "string"
    },
    "llms_url": {
      "type": "string"
    },
    "llms_full_url": {
      "type": "string"
    },
    "short_path": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/AgentPathStep"
      }
    },
    "reference_path": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/AgentPathStep"
      }
    },
    "core_surfaces": {
      "type": "array",
      "items": {
        "type": "object",
        "additionalProperties": true
      }
    },
    "recommended_agent_flow": {
      "type": "array",
      "items": {
        "type": "string"
      }
    },
    "surfaces": {
      "type": "array",
      "items": {
        "type": "object",
        "additionalProperties": true
      }
    },
    "trust_policy": {
      "type": "object",
      "additionalProperties": true
    }
  },
  "additionalProperties": true,
  "$defs": {
    "AgentPathStep": {
      "type": "object",
      "properties": {
        "step": {
          "type": "integer"
        },
        "concept": {
          "type": "string"
        },
        "rest": {
          "type": "array",
          "items": {
            "type": "string"
          }
        },
        "mcp_tools": {
          "type": "array",
          "items": {
            "type": "string"
          }
        },
        "inspect": {
          "type": "array",
          "items": {
            "type": "string"
          }
        },
        "trust_fields": {
          "type": "array",
          "items": {
            "type": "string"
          }
        },
        "use_when": {
          "type": "string"
        }
      },
      "additionalProperties": true
    }
  }
}