[ckan-dev] Schema "tree-like" update

Funquist Tomas tomas.funquist at smhi.se
Thu Dec 18 13:51:31 UTC 2014


Hello!
Is it in a plugin possible to update the schema to have "tree-like" structure like eg:
"result" : {
   ...
   "identification": {
        "title": "My Title",
        "description":"My Description",
        "status": "My status",
        "limit": "My Limit",
        "accessconstraint": [
               "Pending Patent",
              "Trademark"
        ],
        "otherconstraint": "My other constraint",
        "language": "Swedish",
        "topic : [
            "Boundaries",
            "Environment"
        ],
        "geographics": {
             "north":  "90",
            "south":  "90",
            "west":  "90",
            "east":  "90"
        },
        "revision": {
            "date": "2014-05-05",
            "type": "creation"
        },
        "contact": {
             "name": "Arne Weise",
            "orgname": "SVT",
            "role": "author",
            "email": [
               "a at b.se",
               "c at d.se"
            ]
        }
    }
...
}

How do I do it? :)

/Tomas

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.okfn.org/pipermail/ckan-dev/attachments/20141218/2ab8a344/attachment-0002.html>


More information about the ckan-dev mailing list