# References

Type: Array<object>

An optional list of references to other policy entries. Each reference points to an entry
either in the same policy (local reference) or in an imported policy (import reference).
When set, subjects, resources, and namespaces from the referenced entries are additively
merged into this entry.

* Import reference: contains both `entry` (the label) and `import` (the policy ID of the imported policy)
* Local reference: contains only `entry` (the label of another entry in the same policy)

Schema: [References](https://sourcey-ditto.pages.dev/http-api-doc/models/references.md)

Example:

```json
[
  {
    "entry": "operator",
    "import": "energy-corp:power-plant-roles"
  },
  {
    "entry": "local-admin"
  }
]
```

Items:
  Type: object
  
  A single reference to a policy entry.
  
  - `entry` (required)
    Type: string
    
    The label of the referenced entry.
  
  - `import` (optional)
    Type: string
    
    The ID of the imported policy this reference points to.
    If absent, the reference points to a local entry within the same policy.