# app.bivri.support.policyDefs

> Published by [lexicons.bivri.app](https://lexicon.garden/identity/did:plc:uqat5a7hrbww3snbbinxgwah)

✓ This is the authoritative definition for this NSID.

## Description

Public read types for platform policies.

## Links

- [View on Lexicon Garden](https://lexicon.garden/lexicon/did:plc:uqat5a7hrbww3snbbinxgwah/app.bivri.support.policyDefs)
- [Documentation](https://lexicon.garden/lexicon/did:plc:uqat5a7hrbww3snbbinxgwah/app.bivri.support.policyDefs/docs)
- [Examples](https://lexicon.garden/lexicon/did:plc:uqat5a7hrbww3snbbinxgwah/app.bivri.support.policyDefs/examples)

## Definitions

### `app.bivri.support.policyDefs#policyView`

**Type**: `object`

| Property | Type | Required | Description |
|----------|------|----------|-------------|
| `type` | `string` | Yes |  |
| `state` | `string` | Yes |  |
| `title` | `string` | Yes |  |
| `content` | `string` | Yes |  |
| `version` | `string` | Yes |  |
| `publishedAt` | `string` (datetime) | Yes |  |
| `contentFormat` | `string` | Yes |  |
| `effectiveDate` | `string` | Yes |  |
| `withdrawalReason` | `string` | No |  |

### `app.bivri.support.policyDefs#policyVersionView`

**Type**: `object`

| Property | Type | Required | Description |
|----------|------|----------|-------------|
| `type` | `string` | Yes |  |
| `state` | `string` | Yes |  |
| `title` | `string` | Yes |  |
| `version` | `string` | Yes |  |
| `publishedAt` | `string` (datetime) | Yes |  |
| `effectiveDate` | `string` | Yes |  |
| `withdrawalReason` | `string` | No |  |

## Raw Schema

```json
{
  "id": "app.bivri.support.policyDefs",
  "defs": {
    "policyView": {
      "type": "object",
      "required": [
        "type",
        "version",
        "title",
        "effectiveDate",
        "state",
        "contentFormat",
        "content",
        "publishedAt"
      ],
      "properties": {
        "type": {
          "type": "string",
          "knownValues": [
            "terms",
            "privacy"
          ]
        },
        "state": {
          "type": "string",
          "knownValues": [
            "scheduled",
            "active",
            "archived",
            "withdrawn"
          ]
        },
        "title": {
          "type": "string"
        },
        "content": {
          "type": "string"
        },
        "version": {
          "type": "string"
        },
        "publishedAt": {
          "type": "string",
          "format": "datetime"
        },
        "contentFormat": {
          "type": "string",
          "knownValues": [
            "markdown"
          ]
        },
        "effectiveDate": {
          "type": "string"
        },
        "withdrawalReason": {
          "type": "string"
        }
      }
    },
    "policyVersionView": {
      "type": "object",
      "required": [
        "type",
        "version",
        "title",
        "effectiveDate",
        "state",
        "publishedAt"
      ],
      "properties": {
        "type": {
          "type": "string",
          "knownValues": [
            "terms",
            "privacy"
          ]
        },
        "state": {
          "type": "string",
          "knownValues": [
            "scheduled",
            "active",
            "archived",
            "withdrawn"
          ]
        },
        "title": {
          "type": "string"
        },
        "version": {
          "type": "string"
        },
        "publishedAt": {
          "type": "string",
          "format": "datetime"
        },
        "effectiveDate": {
          "type": "string"
        },
        "withdrawalReason": {
          "type": "string"
        }
      }
    }
  },
  "$type": "com.atproto.lexicon.schema",
  "lexicon": 1,
  "description": "Public read types for platform policies."
}
```
