Skip to content

Instantly share code, notes, and snippets.

@scottythered
Last active January 13, 2017 18:35
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save scottythered/d79b8d63ca3a2da120f7efa3168ea8ac to your computer and use it in GitHub Desktop.
Save scottythered/d79b8d63ca3a2da120f7efa3168ea8ac to your computer and use it in GitHub Desktop.
# << data >> -- from ArchivesSpace
# [% data %] -- from YAML config file
{
"@context": "http://schema.org/",
"@type": "Collection",
"name": "<< Collection name >>",
"description": [
"<< Abstract >>" or "<< Scope and Contents >>" or << Biographical Note >>"
],
"datePublished": "<< Finding Aid publishing date (system_mtime) >>",
"temporalCoverage": "<< collection dates begin & end >>",
"creator": [
{"@type": "Person", "name": "<< Person Agent(s) marked as Creator >>"},
{"@type": "Organization", "name": "<< Corporate Entity Agent(s) marked as Creator >>"},
{"@type": "Organization", "name": "<< Family Entity Agent(s) marked as Creator >>"}
],
"contributor": [
{"@type": "Person", "name": "<< Person Agent(s) marked as Contributor >>"},
{"@type": "Organization", "name": "<< Corporate Entity Agent(s) marked as Contributor >>"},
{"@type": "Organization", "name": "<< Family Entity Agent(s) marked as Contributor >>"}
],
"about": [
{"@type": "Person", "name": "<< Person Agent(s) marked as Subject >>"},
{"@type": "Organization", "name": "<< Corporate Entity Agent(s) marked as Subject >>"},
{"@type": "Organization", "name": "<< Family Entity Agent(s) marked as Subject >>"}
],
"keywords": [
"<< subject(s) >>"
],
"url": "<< StaticAid URL >>",
"offers": {
"@type": "Offer",
"availability": "https://schema.org/InStoreOnly",
"serialNumber": "<< Identifier/ID number >>",
"priceCurrency": "USD",
"price": 0,
"businessFunction": "http://purl.org/goodrelations/v1#ProvideService",
"offeredBy": {
"@type": "[% Library or Organization %]",
"@id": "[% link to Wikidata/Freebase URI, if available %]",
"name": "[% Name of archive/library %]",
"url": "[% link %]",
"image": "[% link to logo/building image %]",
"sameAs": "[% links to wikipedia, twitter, facebook, etc %]",
"priceRange": 0,
"alternateName": "[% other names in use %]",
"telephone": "[% phone number %]",
"address": {
"@type": "PostalAddress",
"streetAddress": "[% street and number %]",
"addressLocality": "[% city %]",
"addressRegion": "[% state %]",
"postalCode": "[% zip code %]"
},
"parentOrganization": {
"@type": "[% Organization or CollegeOrUniversity etc %]",
"@id": "[% link to Wikidata/Freebase URI, if available %]",
"name": "[% Name of parent org %]",
"url": "[% link %]",
"sameAs": "[% links to wikipedia, twitter, facebook, etc %]"
}
}
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment