Skip to content

Instantly share code, notes, and snippets.

@elf-pavlik
Last active January 7, 2019 18:36
Show Gist options
  • Save elf-pavlik/ab932407777c61fd22daef2caf725773 to your computer and use it in GitHub Desktop.
Save elf-pavlik/ab932407777c61fd22daef2caf725773 to your computer and use it in GitHub Desktop.
ValueFlow snippets - TextMate snippets syntax
{
"vf:EconomicEvent": {
"prefix": "vffe",
"body": [
"- '@id': ${1:CURIE}",
" '@type': EconomicEvent",
" action: ${2|increment,create,receive,unload,improve,cite,decrement,consume,give,load,accept|}",
" observedQuantity:",
" qudt:unit: unit:${3:unit}",
" qudt:numericValue: ${4:value}",
" ${5|inputOf,outputOf|}: ${6:process}",
" provider: ${7:provider}",
" receiver: ${8:receiver}"
],
"description": "vf:EconomicEvent"
},
"vf:Commitment": {
"prefix": "vffc",
"body": [
"- '@id': ${1:CURIE}",
" '@type': Commitment",
" action: ${2|increment,create,receive,unload,improve,cite,decrement,consume,give,load,accept|}",
" committedQuantity:",
" qudt:unit: unit:${3:unit}",
" qudt:numericValue: ${4:value}",
" ${5|inputOf,outputOf|}: ${6:process}",
" under: ${7:agreement}",
" provider: ${8:provider}",
" receiver: ${9:receiver}"
],
"description": "vf:Commitment"
},
"vf:Process": {
"prefix": "vftp",
"body": [
"- '@id': ${1:CURIE}",
" '@type': Process",
" skos:note: ${2:note}"
],
"description": "vf:EconomicEvent"
},
"vf:EconomicResource": {
"prefix": "vfr",
"body": [
"- '@id': ${1:CURIE}",
" '@type': EconomicResource",
" skos:note: ${2:note}",
" classifiedAs: ${3:classification}",
" currentQuantity:",
" qudt:unit: unit:${4:unit}",
" qudt:numericValue: ${5:value}",
],
"description": "vf:EconomicEvent"
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment