anchor.diff:  cat <<EOF > /tmp/retention-<%= name %>.json
   { 
    "name":    "<%= name %>",
  - "expires":  <%= value["expires"].to_i %>
  + "expires":  <%= value %>
   }
   EOF
   
  
positive.code: 
  <%  schedules = p("shield.schedules", [])
  if_p("shield.schedule") do |sch|
      schedules[sch["name"]] = {"when" => sch["when"]}
  end            
  %>
  
  
negative.code: cat <<EOF > /tmp/schedule-"<%= name %>".json
  { 
   "name":    "<%= name %>",
   "when":    "<%= value %>"
  }
  EOF
  
  