{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/scribe-mail-com/json-schema/scribe-mail-com-api-v1-signature-template-collection-response-schema.json",
  "title": "api_v1_signature_template_collection_response",
  "x-generated": "2026-11-24",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/scribe-mail-com-openapi.json#/components/schemas/api_v1_signature_template_collection_response",
  "type": "object",
  "properties": {
    "data": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string"
          },
          "type": {
            "type": "string",
            "enum": [
              "signature_template"
            ]
          },
          "attributes": {
            "type": "object",
            "properties": {
              "name": {
                "type": "string"
              },
              "kind": {
                "type": "string"
              },
              "accent_color": {
                "type": [
                  "string",
                  "null"
                ]
              },
              "folder": {
                "type": [
                  "object",
                  "null"
                ],
                "properties": {
                  "id": {
                    "type": "string"
                  },
                  "name": {
                    "type": "string"
                  }
                },
                "required": [
                  "id",
                  "name"
                ]
              },
              "installation_activated": {
                "type": "boolean"
              },
              "assign_to_all_future_emails": {
                "type": "boolean"
              },
              "show_marketing_campaigns": {
                "type": "boolean"
              },
              "last_published_at": {
                "type": [
                  "string",
                  "null"
                ]
              },
              "created_at": {
                "type": "string"
              },
              "updated_at": {
                "type": "string"
              },
              "counts": {
                "type": "object",
                "properties": {
                  "assigned_emails": {
                    "type": "integer"
                  },
                  "installed": {
                    "type": "integer"
                  },
                  "pending": {
                    "type": "integer"
                  },
                  "failed": {
                    "type": "integer"
                  }
                },
                "required": [
                  "assigned_emails",
                  "installed",
                  "pending",
                  "failed"
                ]
              }
            },
            "required": [
              "name",
              "kind",
              "folder",
              "installation_activated",
              "assign_to_all_future_emails",
              "show_marketing_campaigns",
              "created_at",
              "updated_at",
              "counts"
            ]
          }
        },
        "required": [
          "id",
          "type",
          "attributes"
        ]
      }
    },
    "meta": {
      "$ref": "#/$defs/api_v1_meta"
    }
  },
  "required": [
    "data",
    "meta"
  ],
  "$defs": {
    "api_v1_meta": {
      "type": "object",
      "properties": {
        "request_id": {
          "type": "string"
        }
      },
      "required": [
        "request_id"
      ],
      "additionalProperties": true
    }
  }
}