mirror of
https://github.com/open-metadata/OpenMetadata.git
synced 2025-07-09 18:21:23 +00:00
67 lines
2.2 KiB
Markdown
67 lines
2.2 KiB
Markdown
![]() |
# Policy
|
||
|
|
||
|
This schema defines the Policy entity. A Policy defines lifecycle or access control that needs to be applied across different Data Entities.
|
||
|
|
||
|
**$id: [https://open-metadata.org/schema/entity/policies/policy.json](https://open-metadata.org/schema/entity/policies/policy.json)**
|
||
|
|
||
|
Type: `object`
|
||
|
|
||
|
## Properties
|
||
|
- **id** `required`
|
||
|
- Unique identifier that identifies this Policy.
|
||
|
- $ref: [../../type/basic.json#/definitions/uuid](../types/basic.md#uuid)
|
||
|
- **name** `required`
|
||
|
- Name that identifies this Policy.
|
||
|
- Type: `string`
|
||
|
- Length: between 1 and 64
|
||
|
- **fullyQualifiedName**
|
||
|
- Name that uniquely identifies a Policy.
|
||
|
- Type: `string`
|
||
|
- Length: between 1 and 128
|
||
|
- **displayName**
|
||
|
- Title for this Policy.
|
||
|
- Type: `string`
|
||
|
- **description**
|
||
|
- A short description of the Policy, comprehensible to regular users.
|
||
|
- Type: `string`
|
||
|
- **owner** `required`
|
||
|
- Owner of this Policy.
|
||
|
- $ref: [../../type/entityReference.json](../types/entityreference.md)
|
||
|
- **policyUrl**
|
||
|
- Link to a well documented definition of this Policy.
|
||
|
- Type: `string`
|
||
|
- String format must be a "uri"
|
||
|
- **href**
|
||
|
- Link to the resource corresponding to this entity.
|
||
|
- $ref: [../../type/basic.json#/definitions/href](../types/basic.md#href)
|
||
|
- **policyType** `required`
|
||
|
- $ref: [#/definitions/policyType](#policytype)
|
||
|
- **enabled**
|
||
|
- Is the policy enabled.
|
||
|
- Type: `boolean`
|
||
|
- Default: _true_
|
||
|
- **version**
|
||
|
- Metadata version of the Policy.
|
||
|
- $ref: [../../type/entityHistory.json#/definitions/entityVersion](../types/entityhistory.md#entityversion)
|
||
|
- **updatedAt**
|
||
|
- Last update time corresponding to the new version of the Policy.
|
||
|
- $ref: [../../type/basic.json#/definitions/dateTime](../types/basic.md#datetime)
|
||
|
- **updatedBy**
|
||
|
- User who made the update.
|
||
|
- Type: `string`
|
||
|
- **changeDescription**
|
||
|
- Change that led to this version of the entity.
|
||
|
- $ref: [../../type/entityHistory.json#/definitions/changeDescription](../types/entityhistory.md#changedescription)
|
||
|
|
||
|
|
||
|
## Type definitions in this schema
|
||
|
|
||
|
### policyType
|
||
|
|
||
|
- This schema defines the type used for describing different types of policies.
|
||
|
- Type: `string`
|
||
|
- The value is restricted to the following:
|
||
|
1. _"AccessControl"_
|
||
|
2. _"Lifecycle"_
|
||
|
|
||
|
_This document was updated on: Monday, November 15, 2021_
|