{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/blacksky/json-schema/blacksky-acquisition-date-extension-response-schema.json",
  "title": "AcquisitionDateExtensionResponse",
  "x-generated": "2026-11-04",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/blacksky-tasking-api-openapi.yml#/components/schemas/AcquisitionDateExtensionResponse",
  "required": [
    "createdAt",
    "extendedFrom",
    "extendedTo",
    "id",
    "orderId",
    "status"
  ],
  "type": "object",
  "properties": {
    "id": {
      "type": "string",
      "description": "The acquisition date extension ID.",
      "format": "uuid"
    },
    "orderId": {
      "$ref": "#/$defs/OrderId"
    },
    "extendedFrom": {
      "type": "string",
      "description": "The old acquisition end date before the extension.",
      "format": "date-time"
    },
    "extendedTo": {
      "type": "string",
      "description": "The new acquisition end date resulting from this extension.",
      "format": "date-time"
    },
    "createdAt": {
      "type": "string",
      "description": "The timestamp when the extension was created.",
      "format": "date-time"
    },
    "status": {
      "type": "string",
      "description": "The [status](https://docs.up42.com/developers/api-tasking#extension-statuses) of the acquisition date extension request.",
      "enum": [
        "AWAITING",
        "APPROVED",
        "REJECTED"
      ]
    },
    "reason": {
      "type": [
        "string",
        "null"
      ],
      "description": "Supporting context for why the acquisition end date is being extended."
    }
  },
  "$defs": {
    "OrderId": {
      "type": "string",
      "description": "The order ID.",
      "format": "uuid"
    }
  }
}