{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/agentsjunction-com/json-schema/agentsjunction-com-server-list-schema.json",
  "title": "ServerList",
  "x-generated": "2026-11-01",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/agentsjunction-com-openapi.json#/components/schemas/ServerList",
  "type": "object",
  "properties": {
    "data": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "name": {
            "type": "string"
          },
          "title": {
            "type": [
              "string",
              "null"
            ]
          },
          "description": {
            "type": [
              "string",
              "null"
            ]
          },
          "version": {
            "type": "string"
          },
          "websiteUrl": {
            "type": [
              "string",
              "null"
            ]
          },
          "repositoryUrl": {
            "type": [
              "string",
              "null"
            ]
          },
          "remotes": {
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "type": {
                  "type": "string"
                },
                "url": {
                  "type": "string"
                }
              },
              "required": [
                "type",
                "url"
              ],
              "additionalProperties": false
            }
          },
          "packages": {
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "registryType": {
                  "type": "string"
                },
                "identifier": {
                  "type": "string"
                },
                "version": {
                  "type": "string"
                },
                "runtimeHint": {
                  "type": [
                    "string",
                    "null"
                  ]
                },
                "runtimeArguments": {
                  "anyOf": [
                    {
                      "type": "array",
                      "items": {
                        "type": "string"
                      }
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "environmentVariables": {
                  "anyOf": [
                    {
                      "type": "array",
                      "items": {
                        "type": "string"
                      }
                    },
                    {
                      "type": "null"
                    }
                  ]
                }
              },
              "required": [
                "registryType",
                "identifier",
                "version"
              ],
              "additionalProperties": false
            }
          },
          "status": {
            "type": [
              "string",
              "null"
            ]
          },
          "isLatest": {
            "type": [
              "boolean",
              "null"
            ]
          },
          "publishedAt": {
            "type": [
              "string",
              "null"
            ]
          },
          "updatedAt": {
            "type": [
              "string",
              "null"
            ]
          },
          "source": {
            "type": "string"
          },
          "verification": {
            "type": "string"
          },
          "confidence": {
            "type": [
              "number",
              "null"
            ]
          },
          "stars": {
            "type": [
              "number",
              "null"
            ]
          },
          "sources": {
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "source": {
                  "type": "string"
                },
                "sourceId": {
                  "type": "string"
                },
                "verification": {
                  "type": "string"
                },
                "confidence": {
                  "type": "number"
                },
                "stars": {
                  "type": [
                    "number",
                    "null"
                  ]
                },
                "updatedAt": {
                  "type": "string"
                }
              },
              "required": [
                "source",
                "sourceId",
                "verification",
                "confidence",
                "stars",
                "updatedAt"
              ],
              "additionalProperties": {}
            }
          },
          "matchingTools": {
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "serverName": {
                  "type": "string"
                },
                "endpointFingerprint": {
                  "type": "string"
                },
                "name": {
                  "type": "string"
                },
                "title": {
                  "type": [
                    "string",
                    "null"
                  ]
                },
                "description": {
                  "type": [
                    "string",
                    "null"
                  ]
                },
                "inputSchema": {
                  "anyOf": [
                    {
                      "type": "object",
                      "propertyNames": {
                        "type": "string"
                      },
                      "additionalProperties": {}
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "annotations": {
                  "anyOf": [
                    {
                      "type": "object",
                      "propertyNames": {
                        "type": "string"
                      },
                      "additionalProperties": {}
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "definitionHash": {
                  "type": "string"
                },
                "schemaStatus": {
                  "type": "string",
                  "enum": [
                    "valid",
                    "invalid",
                    "missing",
                    "too-large"
                  ]
                },
                "origin": {
                  "type": "string"
                },
                "observedAt": {
                  "type": "string"
                },
                "metadataTrust": {
                  "type": "string",
                  "const": "untrusted"
                }
              },
              "required": [
                "serverName",
                "endpointFingerprint",
                "name",
                "title",
                "description",
                "inputSchema",
                "annotations",
                "definitionHash",
                "schemaStatus",
                "origin",
                "observedAt",
                "metadataTrust"
              ],
              "additionalProperties": false
            }
          },
          "toolAuthentication": {
            "type": "string",
            "enum": [
              "unknown",
              "required"
            ]
          },
          "connectionConfigurations": {
            "type": "object",
            "properties": {
              "status": {
                "type": "string",
                "enum": [
                  "ready",
                  "manual"
                ]
              },
              "authentication": {
                "type": "string",
                "const": "not embedded"
              },
              "clients": {
                "anyOf": [
                  {
                    "type": "object",
                    "propertyNames": {
                      "type": "string"
                    },
                    "additionalProperties": {}
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "instructions": {
                "type": "array",
                "items": {
                  "type": "object",
                  "properties": {
                    "registryType": {
                      "type": "string"
                    },
                    "identifier": {
                      "type": "string"
                    },
                    "version": {
                      "type": "string"
                    }
                  },
                  "required": [
                    "registryType",
                    "identifier",
                    "version"
                  ],
                  "additionalProperties": false
                }
              }
            },
            "required": [
              "status",
              "authentication"
            ],
            "additionalProperties": false
          },
          "resourceType": {
            "type": "string",
            "enum": [
              "agent",
              "mcp-server"
            ]
          },
          "callable": {
            "type": "boolean"
          },
          "runtime": {
            "type": "object",
            "properties": {
              "callable": {
                "type": "boolean"
              },
              "protocols": {
                "type": "array",
                "items": {
                  "type": "string"
                }
              }
            },
            "required": [
              "callable",
              "protocols"
            ],
            "additionalProperties": false
          },
          "interfaces": {
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "protocol": {
                  "type": "string"
                },
                "protocolVersion": {
                  "type": [
                    "string",
                    "null"
                  ]
                },
                "transport": {
                  "type": "string"
                },
                "url": {
                  "type": "string"
                },
                "package": {
                  "type": "string"
                },
                "registryType": {
                  "type": "string"
                },
                "version": {
                  "type": "string"
                }
              },
              "required": [
                "protocol"
              ],
              "additionalProperties": false
            }
          }
        },
        "required": [
          "name",
          "title",
          "description",
          "version",
          "websiteUrl",
          "repositoryUrl",
          "remotes",
          "packages",
          "status",
          "isLatest",
          "publishedAt",
          "updatedAt",
          "source",
          "verification",
          "confidence",
          "stars",
          "sources",
          "resourceType",
          "callable",
          "runtime",
          "interfaces"
        ],
        "additionalProperties": false
      }
    },
    "meta": {
      "type": "object",
      "properties": {
        "page": {
          "type": "number"
        },
        "limit": {
          "type": "number"
        },
        "total": {
          "type": "number"
        },
        "pageCount": {
          "type": "number"
        },
        "query": {
          "type": "string"
        },
        "transport": {
          "type": [
            "string",
            "null"
          ]
        },
        "source": {
          "type": "string",
          "const": "mongodb"
        },
        "fetchedAt": {
          "type": "string"
        }
      },
      "required": [
        "page",
        "limit",
        "total",
        "pageCount",
        "query",
        "transport",
        "source",
        "fetchedAt"
      ],
      "additionalProperties": false
    }
  },
  "required": [
    "data",
    "meta"
  ],
  "additionalProperties": false
}