Skip to content

Commit

Permalink
made the scraping process collect date created for repos, and date cr…
Browse files Browse the repository at this point in the history
…eated and published for releases
  • Loading branch information
AidanKelley committed Sep 21, 2020
1 parent fdee954 commit 72e9a1b
Showing 1 changed file with 13 additions and 1 deletion.
14 changes: 13 additions & 1 deletion sosen/schema/software_schema.py
Original file line number Diff line number Diff line change
Expand Up @@ -125,6 +125,10 @@
"@type": "xsd:string"
}
},
"sd:dateCreated": {
"@path": ["dateCreated", "excerpt"],
"@type": "xsd:datetime"
},
"sd:author": {
"@class": "schema:Person",
"@id": {
Expand Down Expand Up @@ -176,7 +180,15 @@
"@path": ["releases", "excerpt", "html_url"],
"@type": "xsd:anyURI"
}
]
],
"sd:dateCreated": {
"@type": "xsd:datetime",
"@path": ["releases", "excerpt", "dateCreated"]
},
"sd:datePublished": {
"@type": "xsd:datetime",
"@path": ["releases", "excerpt", "datePublished"]
}
}, {
"@class": "sd:SoftwareVersion",
"@id": {
Expand Down

0 comments on commit 72e9a1b

Please sign in to comment.