Skip to main content

Develop with FastTrack

Example document

This is an example document from the Create a search application section:

{ "envelope": {
    "entityType": "person",
    "id": 1001,
    "firstName": "Nerta",
    "lastName": "Hallwood",
    "title": "Marketing Manager",
    "status": "active",
    "dob": "1985-03-04",
    "salary": 104000,
    "address": {
      "street": "40 Summer Ridge Point",
      "city": "Cincinnati",
      "state": "Ohio",
      "country": "United States",
      "latitude": 39.1848,
      "longitude": -84.3448
    },
    "image": "person-1001.jpg",
    "content": "And this, our life, exempt from public haunt, finds tongues in trees, books in the running brooks, sermons in stones, and good in everything.",
    "relations": [
      {
        "triple": {
          "subject": "http://example.org/1001",
          "predicate": "http://xmlns.com/foaf/0.1/knows/",
          "object": {
              "datatype" : "http://www.w3.org/2001/XMLSchema#string",
              "value":"1002"
            }
          }
      },
      {
        "triple": {
          "subject": "http://example.org/1001",
          "predicate": "http://xmlns.com/foaf/0.1/knows/",
          "object": {
              "datatype" : "http://www.w3.org/2001/XMLSchema#string",
              "value":"1003"
            }
          }
      }
    ]
  }
}