{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/oracle-siebel/json-schema/oracle-siebel-activity-schema.json",
  "title": "Activity",
  "description": "A Siebel CRM Activity business component record representing a task, appointment, call log, or other scheduled item",
  "x-generated": "2026-11-25",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/oracle-siebel-activities-api-openapi.yml#/components/schemas/Activity",
  "type": "object",
  "properties": {
    "Id": {
      "type": "string",
      "description": "Unique row identifier for the activity record"
    },
    "Type": {
      "type": "string",
      "description": "Activity type (e.g., Task, Appointment, Call)"
    },
    "Description": {
      "type": "string",
      "description": "Activity description"
    },
    "Status": {
      "type": "string",
      "description": "Current status of the activity"
    },
    "Priority": {
      "type": "string",
      "description": "Priority level"
    },
    "Due": {
      "type": "string",
      "description": "Due date for the activity"
    },
    "Planned": {
      "type": "string",
      "description": "Planned date and time"
    },
    "Account": {
      "type": "string",
      "description": "Associated account name"
    },
    "Account Id": {
      "type": "string",
      "description": "Row identifier of the associated account"
    },
    "Contact First Name": {
      "type": "string",
      "description": "First name of the associated contact"
    },
    "Contact Last Name": {
      "type": "string",
      "description": "Last name of the associated contact"
    },
    "Owner": {
      "type": "string",
      "description": "Owner or assignee"
    },
    "Link": {
      "type": "array",
      "description": "HATEOAS links to related resources",
      "items": {
        "$ref": "#/$defs/LinkObject"
      }
    }
  },
  "$defs": {
    "LinkObject": {
      "type": "object",
      "description": "HATEOAS link object providing navigation references to related Siebel REST API resources",
      "properties": {
        "rel": {
          "type": "string",
          "description": "Relationship type (self, child, parent)",
          "enum": [
            "self",
            "child",
            "parent"
          ]
        },
        "href": {
          "type": "string",
          "format": "uri",
          "description": "Full URL to the related resource"
        },
        "name": {
          "type": "string",
          "description": "Name of the related business component"
        }
      }
    }
  }
}