{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/buildworkpro-com/json-schema/buildworkpro-com-briefing-dismissal-schema.json",
  "title": "BriefingDismissal",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/buildworkpro-com-briefing-api-openapi.yml#/components/schemas/BriefingDismissal",
  "type": "object",
  "properties": {
    "id": {
      "type": "integer"
    },
    "itemKey": {
      "type": "string",
      "description": "`<category>:<entityType>:<entityId>`, as on the briefing row."
    },
    "dismissedUntil": {
      "anyOf": [
        {
          "type": "string",
          "format": "date-time"
        },
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "description": "Snooze end, or null until the row's state changes."
    },
    "createdAt": {
      "anyOf": [
        {
          "type": "string",
          "format": "date-time"
        },
        {
          "type": "string"
        }
      ]
    },
    "updatedAt": {
      "anyOf": [
        {
          "type": "string",
          "format": "date-time"
        },
        {
          "type": "string"
        }
      ]
    },
    "deletedAt": {
      "anyOf": [
        {
          "type": "string",
          "format": "date-time"
        },
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ]
    }
  },
  "required": [
    "id",
    "itemKey",
    "dismissedUntil",
    "createdAt",
    "updatedAt",
    "deletedAt"
  ]
}