{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/machinesignal-it/json-schema/machinesignal-it-dataset-accepted-response-schema.json",
  "title": "DatasetAcceptedResponse",
  "x-generated": "2026-10-30",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/api.machinesignal.it-openapi.json#/components/schemas/DatasetAcceptedResponse",
  "type": "object",
  "additionalProperties": true,
  "required": [
    "decision",
    "order_intent_id",
    "dataset_sha256",
    "target_count",
    "retention_expires_at",
    "duplicate",
    "raw_dataset_returned",
    "fulfillment_status"
  ],
  "properties": {
    "decision": {
      "const": "paid_order_dataset_accepted"
    },
    "order_intent_id": {
      "type": "string",
      "pattern": "^order_intent_"
    },
    "dataset_sha256": {
      "type": "string",
      "pattern": "^[a-f0-9]{64}$"
    },
    "target_count": {
      "type": "integer",
      "minimum": 1,
      "maximum": 250
    },
    "retention_expires_at": {
      "type": "string",
      "format": "date-time"
    },
    "duplicate": {
      "type": "boolean"
    },
    "raw_dataset_returned": {
      "const": false
    },
    "fulfillment_status": {
      "type": "string"
    }
  }
}