{
  "lexicon": 1,
  "id": "space.polymodel.library.deleteThing",
  "defs": {
    "main": {
      "type": "procedure",
      "description": "Delete an owned thing and its owned model/part composition records from the authenticated actor's PDS, then eagerly remove local projections.",
      "input": {
        "encoding": "application/json",
        "schema": {
          "type": "object",
          "required": [
            "uri"
          ],
          "properties": {
            "uri": {
              "type": "string",
              "format": "at-uri"
            }
          }
        }
      },
      "output": {
        "encoding": "application/json",
        "schema": {
          "type": "object",
          "required": [
            "deleted"
          ],
          "properties": {
            "deleted": {
              "type": "boolean"
            },
            "deletedUris": {
              "type": "array",
              "items": {
                "type": "string",
                "format": "at-uri"
              }
            }
          }
        }
      }
    }
  }
}