{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/policyforge-co/json-schema/policyforge-co-policy-detail-response-schema.json",
  "title": "PolicyDetailResponse",
  "x-generated": "2026-11-21",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/policyforge-co-openapi.json#/components/schemas/PolicyDetailResponse",
  "type": "object",
  "properties": {
    "id": {
      "type": "string",
      "format": "uuid"
    },
    "type": {
      "type": "string"
    },
    "policy_type": {
      "type": "string",
      "description": "Alias of `type` (same value)"
    },
    "title": {
      "type": "string"
    },
    "content": {
      "type": "string"
    },
    "created_at": {
      "type": "string",
      "format": "date-time"
    },
    "updated_at": {
      "type": "string",
      "format": "date-time"
    },
    "published_at": {
      "type": [
        "string",
        "null"
      ],
      "format": "date-time"
    },
    "effective_date": {
      "type": [
        "string",
        "null"
      ],
      "format": "date"
    },
    "status": {
      "type": "string"
    },
    "hosting_enabled": {
      "type": "boolean"
    },
    "hosted_url": {
      "type": "string",
      "format": "uri"
    },
    "url_slug": {
      "type": "string"
    }
  }
}