{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/oracle-planning/json-schema/oracle-planning-artifact-for-create-schema.json",
  "title": "ArtifactForCreate",
  "description": "Narrative Reporting Library Artifact",
  "x-generated": "2026-11-25",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/oracle-planning-narrative-reporting-openapi.yml#/components/schemas/ArtifactForCreate",
  "type": "object",
  "properties": {
    "name": {
      "type": "string",
      "description": "The file or folder name."
    },
    "description": {
      "type": "string",
      "description": "The file or folder description."
    },
    "type": {
      "type": "string",
      "enum": [
        "FileResourceType",
        "FolderResourceType"
      ]
    },
    "systemPath": {
      "type": "string",
      "description": "The Library folder where the new file or folder will be created.\n * When creating a folder, any parent folders specified in the systemPath will also be created.\n * This parameter is optional when creating a folder. If this parameter isn't specified, the folder will be created at the root of the Library.\n * This parameter is required when creating a file.\n"
    },
    "mimeType": {
      "type": "string",
      "enum": [
        "application/zip",
        "application/x-zip-compressed",
        "text/plain",
        "text/csv",
        "font/ttf",
        "application/pdf",
        "application/vnd.ms-excel",
        "application/vnd.ms-word",
        "application/vnd.ms-powerpoint",
        "application/vnd.openxmlformats-officedocument.wordprocessingml.document",
        "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet",
        "application/vnd.openxmlformats-officedocument.presentationml.presentation"
      ]
    },
    "file": {
      "type": "string",
      "description": "When creating a file artifact, the file being added to the Library must be uploaded using Files REST API or by the EPMAutomate uploadFile command.\n   * If the file was uploaded using the Files REST API, provide the File ID as the value for this parameter. \n   * If the file was uploaded using EPMAutomate, provide the file name that was used to upload the file.\n"
    }
  }
}