{
  "$type": "com.atproto.lexicon.schema",
  "defs": {
    "contact": {
      "properties": {
        "email": {
          "type": "string"
        },
        "url": {
          "format": "uri",
          "type": "string"
        }
      },
      "type": "object"
    },
    "links": {
      "properties": {
        "privacyPolicy": {
          "format": "uri",
          "type": "string"
        },
        "termsOfService": {
          "format": "uri",
          "type": "string"
        }
      },
      "type": "object"
    },
    "main": {
      "output": {
        "encoding": "application/json",
        "schema": {
          "properties": {
            "contact": {
              "ref": "#contact",
              "type": "ref"
            },
            "description": {
              "type": "string"
            },
            "did": {
              "format": "did",
              "type": "string"
            },
            "links": {
              "ref": "#links",
              "type": "ref"
            }
          },
          "required": [
            "did"
          ],
          "type": "object"
        }
      },
      "type": "query"
    }
  },
  "id": "ooo.bsky.hds.server.describeServer",
  "lexicon": 1,
  "revision": 1
}
