{
  "$type": "com.atproto.lexicon.schema",
  "defs": {
    "main": {
      "output": {
        "encoding": "application/json",
        "schema": {
          "properties": {
            "abuseContact": {
              "maxLength": 320,
              "type": "string"
            },
            "callerRegistration": {
              "ref": "party.whey.writeproxy.defs#callerRegistration",
              "type": "ref"
            },
            "delegatorOnboarding": {
              "ref": "party.whey.writeproxy.defs#delegatorOnboarding",
              "type": "ref"
            },
            "did": {
              "format": "did",
              "type": "string"
            },
            "endpoint": {
              "format": "uri",
              "type": "string"
            },
            "limits": {
              "ref": "party.whey.writeproxy.defs#limits",
              "type": "ref"
            },
            "methods": {
              "items": {
                "format": "nsid",
                "type": "string"
              },
              "type": "array"
            },
            "oauth": {
              "ref": "party.whey.writeproxy.defs#oauthClientMetadata",
              "type": "ref"
            },
            "privacy": {
              "format": "uri",
              "type": "string"
            },
            "profiles": {
              "items": {
                "type": "string"
              },
              "type": "array"
            },
            "service": {
              "maxLength": 128,
              "type": "string"
            },
            "serviceId": {
              "description": "The DID reference for this service, did#whey_write_proxy. Must match the DID document service entry.",
              "maxLength": 512,
              "type": "string"
            },
            "supportedSpaceTypes": {
              "items": {
                "type": "string"
              },
              "type": "array"
            },
            "terms": {
              "format": "uri",
              "type": "string"
            },
            "updatedAt": {
              "format": "datetime",
              "type": "string"
            },
            "version": {
              "maxLength": 64,
              "type": "string"
            },
            "writesEnabled": {
              "description": "False while the operator has paused the data plane.",
              "type": "boolean"
            }
          },
          "required": [
            "service",
            "version",
            "did",
            "serviceId",
            "endpoint",
            "methods",
            "delegatorOnboarding",
            "callerRegistration",
            "oauth",
            "limits",
            "updatedAt"
          ],
          "type": "object"
        }
      },
      "type": "query"
    }
  },
  "description": "Unauthenticated service description: service identity and endpoint, methods, onboarding modes, OAuth client-metadata policy, limits, terms, and abuse contact. The same schema is served at /.well-known/write-proxy.json. There is no shared OAuth clientId in v0; delegator grants use per-delegation client metadata and callers use service auth.",
  "id": "party.whey.writeproxy.getServiceDescription",
  "lexicon": 1
}
