app.bivri.support.policyDefs

Public read types for platform policies.

Details · defs
Kinddefs
Authoritysupport.bivri.app
Indexed
cid bafyreibls62zwxubcitmlofqqgzy2kc6qd5azricpht2nhpy66jtqqncxa

Checks

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