{ "id": "citation.json#", "$schema": "http://json-schema.org/draft-04/schema#", "description": "schema for citation", "translation": { "ISO 19115-2": ["CI_Citation"] }, "type": "object", "required": ["title", "date"], "allOf": [ { "$ref": "#/definitions/citationFull" } ], "definitions": { "citationBase": { "title": "base citation", "description": "A minimal citation object supporting only basic attributes.", "translation": { "FGDC CSDGM": ["idinfo > citation > citeinfo"] }, "type": "object", "required": ["title"], "properties": { "title": { "type": "string", "description": "Name by which the cited resource is known.", "translation": { "ISO 19115-2": ["CI_Citation > title"], "FGDC CSDGM": ["idinfo > citation > citeinfo > title"] } }, "date": { "type": "array", "description": "Date referenced to the cited resource.", "translation": { "ISO 19115-2": ["CI_Citation > date > CI_Date"] }, "minItems": 1, "items": { "type": "object", "required": ["date", "dateType"], "properties": { "date": { "translation": { "ISO 19115-2": ["CI_Date > date"], "FGDC CSDGM": ["idinfo > citation > citeinfo > pubdate"] }, "$ref": "../schema.json#/definitions/date" }, "dateType": { "type": "string", "description": "The type of date in the context of the citation.", "translation": { "ISO 19115-2": ["CI_Date > dateType [CI_DateTypeCode]"] } } } } }, "responsibleParty": { "type": "array", "description": "Identification of, and means of communication with, person(s) and organization(s) associated with the cited resource.", "translation": { "ISO 19115-2": ["CI_Citation > citedResponsibleParty > CI_ResponsibleParty"], "FGDC CSDGM": ["idinfo > ptcontac > cntinfo"] }, "minItems": 1, "items": { "$ref": "contact.json#/definitions/contactRef" } }, "onlineResource": { "type": "array", "description": "On-line information related to the citation.", "translation": { "ISO 19115-2": ["CI_Citation > citedResponsibleParty > CI_ResponsibleParty > contact > CI_Contact > onlineResource > CI_OnlineResource"] }, "items": { "$ref": "onlineResource.json#" } } } }, "citationFull": { "type": "object", "title": "full citation", "description": "A full citation object, all attributes are supported.", "properties": { "edition": { "type": "string", "description": "Version identifier for the resource.", "translation": { "ISO 19115-2": ["CI_Citation > edition"], "FGDC CSDGM": ["idinfo > citation > edition"] } }, "presentationForm": { "type": "array", "description": "The form that the resource is presented, such as: digital map, digital document, etc.", "translation": { "ISO 19115-2": ["CI_Citation > presentationForm [CI_PresentationFormCode]"], "FGDC CSDGM": ["idinfo > citation > geoform"] }, "items": { "type": "string" } }, "identifier": { "type": "array", "description": "Identifier for the resource in the context of the citation.", "translation": { "ISO 19115-2": ["CI_Citation > identifier"] }, "items": { "$ref": "#/definitions/identifier" } } }, "allOf": [ { "$ref": "#/definitions/citationBase" } ] }, "identifier": { "title": "identifier", "description": "Assigned identifier for a resource.", "translation": { "ISO 19115-2": ["MD_Identifier"] }, "type": "object", "required": ["identifier"], "properties": { "identifier": { "type": "string", "description": "A name that is used to identify the resource.", "translation": { "ISO 19115-2": ["MD_Identifier > code"] } }, "type": { "type": "string", "description": "The type of identifier, e.g. doi, isbn, issn, etc.", "translation": { "ISO 19115-2": ["CI_Citation > ISBN", "CI_Citation > ISSN"] } }, "authority": { "description": "Citation for the authority issuing the identifier.", "translation": { "ISO 19115-2": ["MD_Identifier > authority > CI_Citation"] }, "$ref": "#/definitions/citationBase" } } }, "dictionary": { "type": "object", "required": ["title", "date"], "title": "dictionary citation", "description": "A citation object for data dictionaries.", "properties": { "edition": { "type": "string", "description": "Version identifier for the dictionary.", "translation": { "ISO 19115-2": ["CI_Citation > edition"], "FGDC CSDGM": ["idinfo > citation > edition"] } } }, "allOf": [ { "$ref": "#/definitions/citationBase" } ] } } }