forked from cqslayton/citizenscience.gov
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdata.json
62 lines (62 loc) · 2.54 KB
/
data.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
---
layout: null
permalink: /data.json
title: Federal Crowdsourcing and Citizen Science Catalog - data.json
---
{
"conformsTo": "https://project-open-data.cio.gov/v1.1/schema",
"@context": "https://project-open-data.cio.gov/v1.1/schema/catalog.jsonld",
"@id": "{{ site.url }}/data.json",
"@type": "dcat:Catalog",
"describedBy": "https://project-open-data.cio.gov/v1.1/schema/catalog.json",
"dataset": [{% for post in site.catalog-projects %}{
"@type": "dcat:Dataset",
"title": "{{ post.project_name | smartify }}",
"identifier": "{{ post.cartodb_id }}-{{ post.project_name | smartify }}",
"description": "{{ post.status }}. {{ post.project_description | escape | strip }}",
"issued": "{{ post.start_date }}",
"modified": "{{ post.start_date }}",
"accessLevel": "public",
"license": "https://creativecommons.org/publicdomain/zero/1.0/",
"spatial": "{{ post.geographic_scope }}",
"publisher": {
"@type": "org:Organization",
"name": "{{ post.agency_sponsor }}{% if post.agency_sponsor_other %}, {{ post.agency_sponsor_other }}{% endif %}"
},
"category": "{{ post.project_topic }}",
"contactPoint": {
"@type": "vcard:Contact",
"fn": "{{ post.email }}",
"hasEmail": "mailto:{{ post.email }}"
},
"distribution": [{
"@type": "dcat:Distribution",
"mediaType": "text/html",
"format": "html",
"accessURL": "{{ site.url }}{{ post.url }}",
"title": "{{ post.project_name | smartify }}",
"description": "Link to Project on Citizenscience.gov"
}{% if post.project_url %}, {
"@type": "dcat:Distribution",
"mediaType": "text/html",
"format": "html",
"accessURL": "{{ post.project_url }}",
"title": "Project Website",
"description": "Link to Project Website"
}{% endif %} {% if post.scistarter %}, {
"@type": "dcat:Distribution",
"mediaType": "text/html",
"format": "html",
"accessURL": "{{ post.scistarter }}",
"title": "Scistarter.org",
"description": "Link to Project on Scistarter.org"
}{% endif %}
],
"keyword": ["{{ post.keywords }}, {{ post.participant_age }}, {{ post.participation_tasks }}"],
"programCode": ["{{ post.email | split: "@" | last | prepend: "@" }}"],
"bureauCode": ["{{ post.email | split: "@" | last | prepend: "@" }}"],
"theme": ["{{ post.project_topic }}"]
}{% unless forloop.last == true %},{% endunless %}
{% endfor %}
]
}