{
  "title": "foxglove.SceneEntityDeletion",
  "description": "Command to remove previously published entities",
  "$comment": "Generated by https://github.com/foxglove/foxglove-sdk",
  "type": "object",
  "properties": {
    "timestamp": {
      "type": "object",
      "title": "time",
      "properties": {
        "sec": {
          "type": "integer",
          "minimum": 0
        },
        "nsec": {
          "type": "integer",
          "minimum": 0,
          "maximum": 999999999
        }
      },
      "description": "Timestamp of the deletion. Only matching entities earlier than this timestamp will be deleted."
    },
    "type": {
      "title": "foxglove.SceneEntityDeletionType",
      "description": "Type of deletion action to perform",
      "oneOf": [
        {
          "title": "MATCHING_ID",
          "const": 0,
          "description": "Delete the existing entity on the same topic that has the provided `id`"
        },
        {
          "title": "ALL",
          "const": 1,
          "description": "Delete all existing entities on the same topic"
        }
      ]
    },
    "id": {
      "type": "string",
      "description": "Identifier which must match if `type` is `MATCHING_ID`."
    }
  },
  "required": [
    "timestamp",
    "type",
    "id"
  ]
}
