{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/oracle-database/json-schema/oracle-database-environment-dbca-jobs-item-schema.json",
  "title": "EnvironmentDbcaJobsItem",
  "description": "Describes a Database Configuration Assistant job.",
  "x-generated": "2026-11-25",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/oracle-database-environment-api-openapi.yml#/components/schemas/EnvironmentDbcaJobsItem",
  "type": "object",
  "properties": {
    "job_id": {
      "type": "string",
      "description": "Unique identifier for the DBCA job in the Oracle Home."
    },
    "description": {
      "type": "string",
      "description": "DBCA job description."
    },
    "status": {
      "type": "string",
      "description": "DBCA job status."
    },
    "submitted": {
      "type": "string",
      "description": "Timestamp for when the DBCA job request was submitted."
    },
    "finished": {
      "type": "string",
      "description": "Timestamp for when the DBCA job request finished."
    },
    "job_request": {
      "type": "object",
      "description": "Describes the DBCA job request.",
      "properties": {
        "operation": {
          "type": "string",
          "description": "The DBCA operation to be performed: CREATE or DELETE."
        },
        "container_configuration": {
          "type": "object",
          "description": "This object represents container configuration details for a CDB.",
          "properties": {
            "number_of_pdbs": {
              "type": "string",
              "description": "Number of PDBs to create."
            },
            "pdb_name": {
              "type": "string",
              "description": "Base name of each PDB. A number is appended to each name if number_of_pdbs is greater than 1."
            }
          }
        },
        "database_system_identifier": {
          "type": "string",
          "description": "The database identifier."
        },
        "global_database_name": {
          "type": "string",
          "description": "Global database name."
        },
        "response_file": {
          "type": "string",
          "description": "Path for response file for DBCA to use when creating a database."
        },
        "template_name": {
          "type": "string",
          "description": "Path for the database template for DBCA to use when creating a database."
        },
        "total_memory": {
          "type": "string",
          "description": "Total memory parameter to provide to DBCA when creating a database."
        },
        "username": {
          "type": "string",
          "description": "The sysdba username for DBCA to use when deleting a database."
        }
      }
    },
    "dbca_log": {
      "type": "array",
      "description": "The output from the DBCA process as it executes.",
      "items": {
        "type": "string"
      }
    },
    "links": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/LinkRelation"
      }
    }
  },
  "$defs": {
    "LinkRelation": {
      "type": "object",
      "properties": {
        "rel": {
          "type": "string"
        },
        "href": {
          "type": "string"
        }
      },
      "required": [
        "rel",
        "href"
      ]
    }
  }
}