Skip to content

Instantly share code, notes, and snippets.

@JJediny
Last active June 1, 2017 14:08
Show Gist options
  • Save JJediny/c6b419f218fd79bd478e5451377ebb73 to your computer and use it in GitHub Desktop.
Save JJediny/c6b419f218fd79bd478e5451377ebb73 to your computer and use it in GitHub Desktop.
ISO-19115-2: JSON schema to YAML based on https://github.com/adiwg/mdJson-schemas. Transformation to Project Open Data v1.1
schema: catalog.conformsTo # https://github.com/data-govt-nz/schema
name: catalog.dataset
version: catalog.describedBy # https://project-open-data.cio.gov/v1.1/schema
contact:
- contactId: UUID # or URI
isOrganization: true
name: catalog.dataset.contactPoint.fn
positionName: #catalog.dataset.contactPoint.position
memberOfOrganization: catalog.dataset.publisher.name
logoGraphic: #catalog.dataset.publisher.logo
phone: catalog.dataset.contactPoint.hasEmail #.hasPhone
address: |
#Not
#Supported
electronicMailAddress: catalog.dataset.contactPoint.hasEmail # mailto:jane.doe@agency.gov
onlineResource: #catalog.dataset.publisher.landingPage
hoursOfService:
contactInstructions:
contactType:
metadata:
metadataInfo:
metadataIdentifier: catalog.dataset.identifier
identifier: catalog.dataset.identifier
namespace: catalog.dataset.conformsTo #.theme?
version: catalog.dataset.modified
description: catalog.dataset.description
authority:
title:
alternateTitle:
date:
edition:
responsibleParty:
presentationForm:
identifier:
series: null
otherCitationDetails:
onlineResource:
graphic:
parentMetadata: catalog.dataset.isPartOf
title:
alternateTitle:
date:
edition:
responsibleParty:
presentationForm:
identifier: catalog.dataset.isPartOf
series: null
otherCitationDetails:
onlineResource:
graphic:
defaultMetadataLocale:
language: catalog.dataset.language
characterSet: UTF-8
country: USA
otherMetadataLocale:
metadataContact:
- role:
roleExtent:
party:
-
metadataDate: catalog.dataset.modified
-
metadataOnlineResource: catalog.dataset.landingPage
alternateMetadataReference:
metadataStatus:
metadataMaintenance:
frequency: catalog.dataset.accrualPeriodicity
date: catalog.dataset.modified
scope:
note:
contact:
resourceInfo:
resourceType:
- type:
name:
citation:
title:
alternateTitle:
date:
edition:
responsibleParty:
presentationForm:
identifier:
series: null
otherCitationDetails:
onlineResource:
graphic:
abstract:
shortAbstract:
purpose:
timePeriod:
id:
description:
identifier:
identifier:
namespace:
version:
description:
authority:
title:
alternateTitle:
date:
edition:
responsibleParty:
presentationForm:
identifier:
series: null
otherCitationDetails:
onlineResource:
graphic:
periodName:
startDateTime: null
endDateTime: null
timeInterval: null
duration: null
credit:
status:
-
topicCategory:
pointOfContact:
- role:
roleExtent:
party:
-
spatialReferenceSystem:
spatialRepresentationType:
spatialRepresentation:
spatialResolution:
temporalResolution:
extent:
coverageDescription:
taxonomy:
taxonomicSystem:
-
generalScope:
identificationReference:
- identifier:
namespace:
version:
description:
authority:
title:
alternateTitle:
date:
edition:
responsibleParty:
presentationForm:
identifier:
series: null
otherCitationDetails:
onlineResource:
graphic:
observer:
identificationProcedure:
identificationCompleteness:
voucher:
taxonomicClassification: null
graphicOverview:
resourceFormat:
- formatSpecification:
title:
alternateTitle:
date:
edition:
responsibleParty:
presentationForm:
identifier:
series: null
otherCitationDetails:
onlineResource:
graphic:
amendmentNumber:
compressionMethod:
keyword: catalog.dataset.keywords
resourceUsage:
constraint:
defaultResourceLocale:
language: EN
characterSet: UTF-8
country: USA
otherResourceLocale:
resourceMaintenance:
environmentDescription:
supplementalInfo:
resourceLineage:
resourceDistribution:
associatedResource:
additionalDocumentation:
funding:
metadataRepository:
dataDictionary: catalog.dataset.describedBy
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment