{
  "$type": "com.atproto.lexicon.schema",
  "defs": {
    "main": {
      "description": "Match a web page URL to an indexed standard.site article or publication.",
      "output": {
        "encoding": "application/json",
        "schema": {
          "refs": [
            "app.standard-reader.defs#resolveViewArticle",
            "app.standard-reader.defs#resolveViewPublication",
            "app.standard-reader.defs#resolveViewReaderLink",
            "app.standard-reader.defs#resolveViewUnknown"
          ],
          "type": "union"
        }
      },
      "parameters": {
        "properties": {
          "did": {
            "format": "did",
            "type": "string"
          },
          "url": {
            "format": "uri",
            "type": "string"
          },
          "urls": {
            "items": {
              "format": "uri",
              "type": "string"
            },
            "type": "array"
          }
        },
        "required": [],
        "type": "params"
      },
      "type": "query"
    }
  },
  "id": "app.standard-reader.resolveUrl",
  "lexicon": 1
}
