martiLQ/docs/source/samples/json/sample_01.md

2.2 KiB

Basic sample

The sample martiLQ document below has been generated using the client GOLANG program using defaults and one input file.

The source is the project document /docs/source/martiLQ.md

GOLANG program arguments are :

-t GEN -m test_Sample01.json -s docs/source/martiLQ.md --title "GEN001" --description "Simple example with no config"

The martiLQ document

{
    "contentType": "application/vnd.martilq.json",
    "title": "GEN001",
    "uid": "cff090b2-5845-490c-bd81-88b3a9267b5a",
    "description": "Simple example with no config",
    "modified": "2021-11-03T08:27:43.3630156+11:00",
    "publisher": "",
    "contactPoint": "",
    "accessLevel": "",
    "rights": "",
    "tags": null,
    "license": "",
    "state": "",
    "batch": 0,
    "describedBy": "",
    "landingPage": "",
    "theme": "",
    "resources": [
        {
            "title": "martiLQ.md",
            "uid": "33802718-1a63-4632-be52-f281234d7fd7",
            "documentName": "martiLQ.md",
            "issueDate": "2021-11-03T08:27:43.3624588+11:00",
            "modified": "2021-11-02T22:57:00.0061831+11:00",
            "expires": "2028-11-03T00:00:00+11:00",
            "state": "active",
            "author": "",
            "length": 6046,
            "hash": {
                "algo": "SHA256",
                "value": "111f3ad34d94dc346ac282c9a1cc9a3e5802706b5274684b660d2f9b1721abcf",
                "signed": false
            },
            "description": "",
            "url": "file://martiLQ.md",
            "version": "",
            "contentType": "",
            "encoding": "UTF-8",
            "compression": "",
            "encryption": "",
            "describedBy": "",
            "attributes": [
                {
                    "category": "dataset",
                    "name": "records",
                    "function": "count",
                    "comparison": "EQ",
                    "value": "172"
                }
            ]
        }
    ],
    "custom": [
        {
            "extension": "software",
            "softwareName": "MARTILQREFERENCE",
            "author": "Meerkat@merebox.com",
            "version": "0.0.1"
        }
    ]
}