{
  "_id" : "sdi-tests",
  "_version" : "1.0.0",
  "_name" : "SDI Tests",

  "_description" : "Used for tests on sdi plugins",
  "_creationInfo": {
    "_user" : {
      "_username": "fabio.sinibaldi"
    }
  },

  "_schema" :{ "title" : {"_min" : 1},
    "section"  : { "_max" : 1, "_min" : 1,
      "_children" : [
        {"fileset" :{"_type" : "RegisteredFileSet", "_min": 1}},
        {"title" : {"_min" : 1}}
      ]
    }
  },
  "_dataAccessPolicies" : [
    {"_policy" : {"_read" : "any", "_write" : "any"}, "_roles":[]}
  ],


  "_handlers" : [
    {
      "_id" :  "DEFAULT-SINGLE-STEP",
      "_type" :  "LifecycleManagement",
      "_configuration" : {
        "step_access" : [
          {"STEP" : "PUBLISH", "roles" :[]}
        ]
      }
    },
    {
      "_id": "SDI-Indexer-Plugin",
      "_type": "Indexer",
      "_configuration": {
        "coordinatesPath" :[{"x" : "$._theDocument.coordX", "y" : "$._theDocument.coordY"}],
        "explicitFieldMapping": [
          {
            "name": "nome",
            "path": "$._theDocument.nome",
            "type": "TEXT"
          }],
        "additionalLayers": [
          {
            "source": {
              "url": "..."
            },
            "toSetTitle": ""
          }
        ]
      }
    },
    {
      "_id" :  "SDI-Default-Materializer",
      "_type" :  "Materializer",
      "_configuration" : {
        "registeredFileSetPaths" : [
          {"schemaField" :  "pianteFineScavo","documentPath" :  "pianteFineScavo[*].fileset"},
          {"schemaField" :  "posizionamentoScavo","documentPath" :  "posizionamentoScavo.fileset"}
        ]
      }
    }
  ]
}