Geopaparazzi/Forms

From OpenStreetMap Wiki
Jump to navigation Jump to search
[
   {
      "forms": [
         {
            "formitems": [
               {
                  "key": "traffic_sign",
                  "mandatory": "yes",
                  "type": "string",
                  "value": "maxspeed"
               },
               {
                  "key": "maxspeed",
                  "type": "stringcombo",
                  "values": {
                     "items": [
                        {
                           "item": "30"
                        },
                        {
                           "item": "40"
                        },
                        {
                           "item": "50"
                        },
                        {
                           "item": "70"
                        },
                        {
                           "item": "80"
                        }
                     ]
                  }
               }
            ],
            "formname": "speed"
         },
         {
            "formitems": [
               {
                  "key": "traffic_sign",
                  "mandatory": "yes",
                  "type": "string",
                  "value": "maxweight"
               },
               {
                  "key": "maxweight",
                  "type": "stringcombo",
                  "values": {
                     "items": [
                        {
                           "item": "2.5"
                        },
                        {
                           "item": "5"
                        },
                        {
                           "item": "7"
                        },
                        {
                           "item": "14"
                        }
                     ]
                  }
               }
            ],
            "formname": "weight"
         }
      ],
      "sectiondescription": "segnali stradali",
      "sectionname": "traffic signs"
   },
   {
      "forms": [
         {
            "formitems": [
               {
                  "key": "emergency",
                  "mandatory": "yes",
                  "type": "string",
                  "value": "fire_estinguisher"
               },
               {
                  "key": "level",
                  "type": "stringcombo",
                  "values": {
                     "items": [
                        {
                           "item": "0"
                        },
                        {
                           "item": "1"
                        },
                        {
                           "item": "2"
                        }
                     ]
                  }
               },
               {
                  "islabel": "true",
                  "key": "ref",
                  "mandatory": "no",
                  "type": "string",
                  "value": "Ex"
               },
               {
                  "key": "end_date",
                  "type": "date",
                  "value": "\"\""
               },
               {
                  "key": "fire_extinguisher:type",
                  "type": "multistringcombo",
                  "value": "",
                  "values": {
                     "items": [
                        {
                           "item": ""
                        },
                        {
                           "item": "A"
                        },
                        {
                           "item": "B"
                        },
                        {
                           "item": "C"
                        },
                        {
                           "item": "D"
                        },
                        {
                           "item": "E"
                        },
                        {
                           "item": "F"
                        }
                     ]
                  }
               }
            ],
            "formname": "estintore"
         },
         {
            "formitems": [
               {
                  "key": "emergency",
                  "mandatory": "yes",
                  "type": "string",
                  "value": "fire_hydrant"
               },
               {
                  "key": "level",
                  "type": "stringcombo",
                  "values": {
                     "items": [
                        {
                           "item": "0"
                        },
                        {
                           "item": "1"
                        },
                        {
                           "item": "2"
                        }
                     ]
                  }
               },
               {
                  "islabel": true,
                  "key": "ref",
                  "type": "string",
                  "value": "Hy"
               },
               {
                  "key": "fire_hydrant:diameter",
                  "type": "stringcombo",
                  "value": "",
                  "values": {
                     "items": [
                        {
                           "item": ""
                        },
                        {
                           "item": "45"
                        },
                        {
                           "item": "70"
                        }
                     ]
                  }
               }
            ],
            "formname": "idrante"
         }
      ],
      "sectiondescription": "elementi antincendio",
      "sectionname": "AI"
   },
   {
      "forms": [
         {
            "formitems": [
               {
                  "key": "amenity",
                  "mandatory": "yes",
                  "type": "string",
                  "value": "waste_basket"
               },
               {
                  "key": "waste",
                  "type": "multistringcombo",
                  "value": "",
                  "values": {
                     "items": [
                        {
                           "item": "cigarettes"
                        },
                        {
                           "item": "trash"
                        },
                        {
                           "item": "dog_excrement"
                        },
                        {
                           "item": "drugs"
                        }
                     ]
                  }
               }
            ],
            "formname": "Cestino"
         },
         {
            "formitems": [
               {
                  "key": "amenity",
                  "mandatory": "yes",
                  "type": "string",
                  "value": "bench"
               },
               {
                  "key": "backrest",
                  "type": "boolean",
                  "value": "\"\""
               },
               {
                  "key": "material",
                  "type": "stringcombo",
                  "values": {
                     "items": [
                        {
                           "item": "wood"
                        },
                        {
                           "item": "metal"
                        },
                        {
                           "item": "concrete"
                        }
                     ]
                  }
               }
            ],
            "formname": "Panchina"
         }
      ],
      "sectiondescription": "Arredo urbano",
      "sectionname": "Arredo urbano"
   },
   {
      "forms": [
         {
            "formitems": [
               {
                  "key": "recycling_type",
                  "mandatory": "yes",
                  "type": "string",
                  "value": "container"
               },
               {
                  "key": "amenity",
                  "mandatory": "yes",
                  "type": "string",
                  "value": "recycling"
               },
               {
                  "key": "operator",
                  "type": "string",
                  "value": ""
               },
               {
                  "key": "recycling:paper",
                  "type": "boolean",
                  "value": false
               },
               {
                  "key": "recycling:plastic",
                  "type": "boolean",
                  "value": false
               },
               {
                  "key": "recycling:glass",
                  "type": "boolean",
                  "value": false
               },
               {
                  "key": "recycling:metal",
                  "type": "boolean",
                  "value": ""
               },
               {
                  "key": "recycling:organic",
                  "type": "boolean",
                  "value": false
               },
               {
                  "key": "recycling:green_waste",
                  "type": "boolean",
                  "value": false
               },
               {
                  "key": "recycling:batteries",
                  "type": "boolean",
                  "value": false
               },
               {
                  "key": "recycling:clothes",
                  "type": "boolean",
                  "value": false
               }
            ],
            "formname": "Container"
         }
      ],
      "sectiondescription": "Recycling",
      "sectionname": "Recycling"
   },
   {
      "forms": [
         {
            "formitems": [
               {
                  "key": "highway",
                  "mandatory": "yes",
                  "type": "string",
                  "value": "bus_stop"
               },
               {
                  "key": "operator",
                  "type": "stringcombo",
                  "values": {
                     "items": [
                        {
                           "item": "APT Gorizia"
                        },
                        {
                           "item": "SAF Udine"
                        },
                        {
                           "item": "ATAP Pordenone"
                        },
                        {
                           "item": "Trieste Trasporti"
                        },
                        {
                           "item": "Trenitalia"
                        }
                     ]
                  }
               },
               {
                  "key": "bench",
                  "type": "boolean",
                  "value": "\"\""
               },
               {
                  "key": "bin",
                  "type": "boolean",
                  "value": "\"\""
               },
               {
                  "key": "shelter",
                  "type": "boolean",
                  "value": "\"\""
               }
            ],
            "formname": "Bus stop"
         },
         {
            "formitems": [
               {
                  "key": "public_transport",
                  "mandatory": "yes",
                  "type": "string",
                  "value": "stop_position"
               },
               {
                  "key": "bus",
                  "mandatory": "yes",
                  "type": "string",
                  "value": "yes"
               }
            ],
            "formname": "Stop position"
         }
      ],
      "sectiondescription": "Trasporto pubblico",
      "sectionname": "Trasporto pubblico"
   },
   {
      "forms": [
         {
            "formitems": [
               {
                  "key": "amenity",
                  "mandatory": "yes",
                  "type": "string",
                  "value": "parking_space"
               },
               {
                  "key": "parking_space",
                  "mandatory": "yes",
                  "type": "string",
                  "value": "disabled"
               },
               {
                  "key": "capacity",
                  "type": "integer",
                  "value": "1",
                  "label": "numero di posti"
               }
            ],
            "formname": "Parking"
         }
      ],
      "sectiondescription": "Disabled amenities",
      "sectionname": "Disabili"
   }
]