benjamincharity
5/8/2015 - 2:14 PM

JSON generator template for iOS contact creation

JSON generator template for iOS contact creation

[
  "{{repeat(100, 100)}}",
   {
    "fn":{
      "name":"{{firstName()}} {{surname()}}"
    },
    "n":{
      "families":"{{surname()}}",
      "givens":"{{firstName()}}"
    },
    "emails":[
    {
      "params":{
        "types":[
          "internet"
          ]
      },
      "address":"{{surname()}}.{{firstName()}}@gmail9999.com"
    }
    ],
      "urls":[
      {
        "uri":"http://www.{{lorem(1, 'words')}}{{lorem(1, 'words')}}.com"
      },
      {
        "group":"item1",
        "uri":"http://www.{{lorem(1, 'words')}}{{lorem(1, 'words')}}.com"
      }
    ],
      "tels":[
      {
        "params":{
          "types":[
            "cell"
            ]
        },
        "number":"({{integer(0, 9)}}{{integer(0, 9)}}{{integer(0, 9)}}) 555-{{integer(0, 9)}}{{integer(0, 9)}}{{integer(0, 9)}}{{integer(0, 9)}}"
      },
      {
        "params":{
          "types":[
            "work"
            ]
        },
        "number":"({{integer(0, 9)}}{{integer(0, 9)}}{{integer(0, 9)}}) 555-{{integer(0, 9)}}{{integer(0, 9)}}{{integer(0, 9)}}{{integer(0, 9)}}"
      }
    ],
      "notes":[
      {
        "description":"{{lorem(1)}}"
      }
    ]
  }
]