{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/oracle/json-schema/oracle-rename-dataset-labels-details-schema.json",
  "title": "RenameDatasetLabelsDetails",
  "description": "Renames a subset of Labels in the Dataset's LabelSet.  The Labels in the source LabelSet will be replaced with the Labels in the target LabelSet.\nLabels are correlated by index, i.e. the first Label in the source LabelSet will be replaced by the first Label in the target LabelSet.\nIf the size of the source and target LabelSets are not equal, the request will be rejected.\n",
  "x-generated": "2026-11-25",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/oracle-datalabelingmanagement-api-openapi.yml#/components/schemas/RenameDatasetLabelsDetails",
  "properties": {
    "sourceLabelSet": {
      "$ref": "#/$defs/LabelSet"
    },
    "targetLabelSet": {
      "$ref": "#/$defs/LabelSet"
    }
  },
  "type": "object",
  "$defs": {
    "Label": {
      "description": "It represents a label.",
      "properties": {
        "name": {
          "description": "An unique name for a label within its dataset.",
          "maxLength": 255,
          "type": "string"
        }
      },
      "type": "object"
    },
    "LabelSet": {
      "description": "An ordered collection of labels that are unique by name.\n",
      "properties": {
        "items": {
          "description": "An ordered collection of labels that are unique by name.",
          "items": {
            "$ref": "#/$defs/Label"
          },
          "maxItems": 250,
          "minItems": 0,
          "type": "array"
        }
      },
      "type": "object"
    }
  }
}