{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/fabricatedemail-com/json-schema/fabricatedemail-com-subscription-schema.json",
  "title": "Subscription",
  "x-generated": "2026-10-30",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/fabricatedemail-com-openapi.yml#/components/schemas/Subscription",
  "type": "object",
  "required": [
    "id",
    "address",
    "createdAt",
    "expiresAt"
  ],
  "properties": {
    "id": {
      "type": "string",
      "format": "uuid",
      "description": "The handle for every later call. A replaced subscription's id is dead for good."
    },
    "address": {
      "type": "string",
      "description": "The registered address, lowercased."
    },
    "createdAt": {
      "type": "string",
      "format": "date-time"
    },
    "expiresAt": {
      "type": [
        "string",
        "null"
      ],
      "format": "date-time",
      "description": "When the subscription expires, or `null` when it is permanent."
    }
  }
}