{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/open-plant-data/json-schema/open-plant-data-internal-data-delete-schema.json",
  "title": "InternalDataDelete",
  "description": "Remove the exact company/plant/SKU mapping including its optional data. Does not delete the OPD plant or other SKUs/companies. A missing mapping returns per-record status 404, outcome not_found and field errors, and is counted in summary.failed. Repeating a successful deletion therefore returns 404. Optional product fields are not allowed. Plant existence/access is not required for deletion.",
  "x-generated": "2026-12-04",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/open-plant-data-openapi.json#/components/schemas/InternalDataDelete",
  "required": [
    "action",
    "data_id",
    "internal_id"
  ],
  "properties": {
    "action": {
      "type": "string",
      "enum": [
        "delete"
      ]
    },
    "data_id": {
      "type": "integer",
      "maximum": 2147483647,
      "minimum": 1
    },
    "internal_id": {
      "type": "string",
      "maxLength": 100,
      "minLength": 1
    }
  },
  "type": "object",
  "additionalProperties": false
}