Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Metadata

The source data that is ingested into Infinit.e is stored as documents, JSON-formatted records comprised of metadata, entities and associations (events).

The metadata is used to capture the original structure of the data, and is used to generate the entities and associations.

Metadata is descriptive information about the documents in Infinit.e and, in fact, makes up the information architecture of these records.

Metadata can be generated for the various source types that can be ingested by Infinit.e, including the following: RSS feeds, database records, "office-style" documents, XML objects etc.

For each source type, the metadata is stored to a specific JSON document type. eg, "_FEED_METADATA" and "_FILE_METADATA".

Examples

Example metadata generated from a database record.

Code Block
languagejavascript
titleReal metadata object generated from database entry
{
        "metadata" : {
                "nid" : [
                        944913
                ],
                "ccn" : [
                        11001478
                ],
                "reportdatetime" : [
                        "Jan 4, 2011 12:00:00 AM"
                ],
                "shift" : [
                        "UNK"
                ],
                "offense" : [
                        "BURGLARY"
                ],
                "method" : [
                        "2"
                ],
                "blocksiteaddress" : [
                        "600 B/O 8TH ST NE"
                ],
                "latitude" : [
                        "38.89812067433020"
                ],
                "longitude" : [
                        "-76.99496375343240"
                ],
                "city" : [
                        "WASHINGTON"
                ],
                "state" : [
                        "DC"
                ],
                "ward" : [
                        6
                ],
                "anc" : [
                        "6A"
                ],
                "smd" : [
                        "6A02"
                ],
                "district" : [
                        "FIRST"
                ],
                "psa" : [
                        102
                ]
        }
}