{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/blacksky/json-schema/blacksky-order-patch-request-schema.json",
  "title": "OrderPatchRequest",
  "x-generated": "2026-11-04",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/blacksky-orders-api-openapi.yml#/components/schemas/OrderPatchRequest",
  "type": "object",
  "properties": {
    "tags": {
      "maxItems": 30,
      "type": "array",
      "description": "A list of tags to replace tags already assigned to the order. A tag can consist of letters, numbers, spaces, and special characters (`.`, `-`, `_`, `/`, `:`).\n",
      "items": {
        "$ref": "#/$defs/Tag"
      }
    },
    "budgetId": {
      "type": [
        "string",
        "null"
      ],
      "description": "The ID of the budget selected for this order. Set to `null` to remove the assigned budget. Once [consumption has been recorded](https://docs.up42.com/developers/api-budgets#consumption-events), this value can no longer be updated.\n",
      "format": "uuid"
    }
  },
  "$defs": {
    "Tag": {
      "maxLength": 180,
      "minLength": 1,
      "type": "string",
      "description": "A tag that consists of letters, numbers, spaces, and special characters (`.`, `-`, `_`, `/`, `:`).\n"
    }
  }
}