Corgam / SS23_ADSP_TCF

An official repository for the "Tangible Climate Futures" project from the ADSP (SS23) course at TU Berlin.
1 stars 2 forks source link

Data models: implement schema for data #39

Closed thdrbrkw closed 1 year ago

thdrbrkw commented 1 year ago
referencedData = {
    title*, descr, tags,
    datatype*: Referenced | NotReferenced,
    ref: {
        if Referenced {
            url*, type*, coord*
        }
        if(NotReferenced){
            {
                content, coord
            }
        }
    }
    //plus meta data fields
}

ref: ReferencedData | {content, coord}

Keys with * should be mandatory, that is:

Corgam commented 1 year ago

Done with #63 .