> ## Documentation Index
> Fetch the complete documentation index at: https://docs.hedera.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Schedule ID

The entity ID of a schedule transaction.

A `ScheduleId` is composed of a \<shardNum>.\<realmNum>.\<scheduleNum> (eg. 0.0.10).

* **shardNum** represents the shard number (`shardId`). It will default to 0 today, as Hedera only performs in one shard.
* **realmNum** represents the realm number (`realmId`). It will default to 0 today, as realms are not yet supported.
* **scheduleNum** represents the schedule number (`scheduleId`)

Together these values make up your `ScheduleId`. When a `ScheduleId` is requested in a field, be sure enter all three values.

<table><thead><tr><th>Constructor</th><th align="center">Type</th><th>Description</th></tr></thead><tbody><tr><td><code>new ScheduleId(\<shardNum>,\<realmNum>,\<scheduleNum>)</code></td><td align="center">long, long, long</td><td>Constructs a <code>ScheduleId</code> with 0 for <code>shardNum</code> and <code>realmNum</code> (e.g., <code>0.0.\<scheduleNum></code>)</td></tr></tbody></table>

### Example

<Tabs>
  <Tab title="Java">
    ```java theme={null}
    ScheduleId scheduleID = new ScheduleId(0,0,10); 
    System.out.println(scheduleID)
    ```
  </Tab>

  <Tab title="JavaScript">
    ```javascript theme={null}
    const scheduleID = new ScheduleId(0,0,10); 
    console.log(scheduleID)
    ```
  </Tab>

  <Tab title="Go" />

  <Tab title="Rust">
    ```rust theme={null}
    // Create a schedule ID
    let schedule_id = ScheduleId::new(0, 0, 10);
    println!("{:?}", schedule_id);

    // v0.34.0
    ```
  </Tab>
</Tabs>
