Skip to content

Instantly share code, notes, and snippets.

View fabianekc's full-sized avatar

Christoph Fabianek fabianekc

View GitHub Profile
var __assign = (this && this.__assign) || function () {
__assign = Object.assign || function(t) {
for (var s, i = 1, n = arguments.length; i < n; i++) {
s = arguments[i];
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
t[p] = s[p];
}
return t;
};
return __assign.apply(this, arguments);
@fabianekc
fabianekc / au_data.json
Created December 21, 2020 09:31
example au_data.json
[
{
"airline": "Swiss International Air Lines AG",
"short": "SWISS",
"iata": "LX",
"icao": "SWR"
},
{
"airline": "Deutsche Lufthansa AG",
"short": "LUFTHANSA",
{
"@context": {
"@version": 1.1,
"@vocab": "https://soya.ownyourdata.eu/HoneyBatch/"
},
"@graph": [
{
"@type": "HoneyBatch",
"beekeeper_did": "asdf",
"produced_at": "2023-01-19",
{
"beekeeper_did": "asdf",
"produced_at": "2023-01-19",
"volume": 2.5,
"unit": "kg",
"wanderkarte": {
"location": {
"address": "Burggarten",
"polygon": [
{
{
"tsp_did": "asdf",
"good_did": "asdf",
"transported_at": "2023-01-19",
"source": {
"address": "Imkerei",
"coordinates": {
"latitude": 45.2,
"longitude": 16.8
}
{
"@context": {
"@version": 1.1,
"@vocab": "https://soya.ownyourdata.eu/TransportEdge/"
},
"@graph": [
{
"@type": "TransportEdge",
"tsp_did": "asdf",
"good_did": "asdf",
{
"marketmaker_did": "asdf",
"shop_did": "asdf",
"good_did": "asdf",
"jar_id": "1",
"sold_at": "2023-01-20",
"price": 8.0,
"weight": 500.0
}
{
"@context": {
"@version": 1.1,
"@vocab": "https://soya.ownyourdata.eu/MarketMaker/"
},
"@graph": [
{
"@type": "MarketMaker",
"marketmaker_did": "asdf",
"shop_did": "asdf",
{
"name": "Imkerei Hans Huber",
"LFBIS-Betriebsnummer": "123",
"location": {
"address": "straße 1, 1010 Wien",
"coordinates": [
{
"latitude": 48.1,
"longitude": 60.1
}
{
"@context": {
"@version": 1.1,
"@vocab": "https://soya.ownyourdata.eu/Organisation/"
},
"@graph": [
{
"@type": "Organisation",
"name": "Imkerei Hans Huber",
"LFBIS-Betriebsnummer": "123",