PostHog · Schema

LegalDocumentDTO

Output serializer — what the API returns for every row.

A/B TestingAnalyticsFeature FlagsOpen SourceProduct AnalyticsSession Recording

Properties

Name Type Description
id string
document_type string
company_name string
representative_email string
status string
created_by object
created_at string
View JSON Schema on GitHub

JSON Schema

posthog-legaldocumentdto-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/LegalDocumentDTO",
  "title": "LegalDocumentDTO",
  "type": "object",
  "description": "Output serializer \u2014 what the API returns for every row.",
  "properties": {
    "id": {
      "type": "string",
      "format": "uuid"
    },
    "document_type": {
      "type": "string"
    },
    "company_name": {
      "type": "string"
    },
    "representative_email": {
      "type": "string"
    },
    "status": {
      "type": "string"
    },
    "created_by": {
      "allOf": [
        {
          "$ref": "#/components/schemas/LegalDocumentCreator"
        }
      ],
      "nullable": true
    },
    "created_at": {
      "type": "string",
      "format": "date-time"
    }
  },
  "required": [
    "company_name",
    "created_at",
    "created_by",
    "document_type",
    "id",
    "representative_email",
    "status"
  ]
}