{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://starwarsnamegenerator.com/mcp-schemas/list_star_wars_species.response.json",
  "title": "ListStarWarsSpeciesResponse",
  "description": "Result of list_star_wars_species.",
  "type": "object",
  "properties": {
    "content": {
      "type": "array",
      "description": "MCP content blocks. Text blocks carry the human-readable result.",
      "items": {
        "type": "object",
        "properties": {
          "type": {
            "type": "string",
            "enum": [
              "text"
            ]
          },
          "text": {
            "type": "string"
          }
        },
        "required": [
          "type",
          "text"
        ]
      }
    },
    "structuredContent": {
      "type": "object",
      "properties": {
        "species": {
          "type": "array",
          "items": {
            "type": "object",
            "properties": {
              "id": {
                "type": "string"
              },
              "name": {
                "type": "string"
              }
            },
            "required": [
              "id",
              "name"
            ]
          }
        }
      },
      "required": [
        "species"
      ]
    },
    "isError": {
      "type": "boolean",
      "description": "Present and true when the call failed."
    }
  },
  "required": [
    "content"
  ]
}
