{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/fillo-so/json-schema/fillo-so-form-detail-schema.json",
  "title": "FormDetail",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/fillo-so-forms-api-openapi.yml#/components/schemas/FormDetail",
  "type": "object",
  "required": [
    "id",
    "slug",
    "name",
    "status",
    "schema",
    "settings",
    "hasDraft",
    "createdAt",
    "updatedAt"
  ],
  "properties": {
    "id": {
      "type": "string"
    },
    "slug": {
      "type": "string"
    },
    "name": {
      "type": "string"
    },
    "status": {
      "type": "string",
      "enum": [
        "draft",
        "published"
      ]
    },
    "schema": {
      "type": "object",
      "description": "The published FormSchema (see @usefillo/core)."
    },
    "settings": {
      "type": "object",
      "description": "The published FormSettings."
    },
    "hasDraft": {
      "type": "boolean"
    },
    "createdAt": {
      "type": "string",
      "format": "date-time"
    },
    "updatedAt": {
      "type": "string",
      "format": "date-time"
    }
  }
}