{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/placid/json-schema/placid-create-pdf-layer-payload-schema.json",
  "title": "CreatePdfLayerPayload",
  "description": "The payload to define the content of layers",
  "x-generated": "2026-10-28",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/placid-openapi.json#/components/schemas/CreatePdfLayerPayload",
  "type": "object",
  "properties": {
    "template_uuid": {
      "type": "string",
      "description": "The UUID of the template"
    },
    "layer_modifications": {
      "title": "Layer modifications",
      "description": "This array holds a list of template layer modifications",
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "layer_name": {
            "title": "Layer Name",
            "type": "string",
            "description": "The name of the layer"
          },
          "property_name": {
            "title": "Property Name",
            "type": "string",
            "description": "These are the different properties currently supported by this model.",
            "enum": [
              "image",
              "video",
              "text"
            ]
          },
          "property_value": {
            "title": "Property Value",
            "type": "string"
          }
        },
        "required": [
          "layer_name",
          "property_name",
          "property_value"
        ]
      }
    }
  }
}