diff --git a/templates/mdJson_template.json b/templates/mdJson_template.json deleted file mode 100644 index ba20d35..0000000 --- a/templates/mdJson_template.json +++ /dev/null @@ -1,1391 +0,0 @@ -{ - "version": { - "name": "mdJson", - "version": "1.1.0" - }, - "contact": [ - { - "contactId": "", - "individualName": "", - "organizationName": "", - "positionName": "", - "onlineResource": [ - { - "uri": "http://thisisanexample.com", - "protocol": "", - "name": "", - "description": "", - "function": "" - } - ], - "contactInstructions": "", - "phoneBook": [ - { - "phoneName": "", - "phoneNumber": "999-999-9999", - "service": [""] - } - ], - "address": { - "deliveryPoint": [""], - "city": "", - "administrativeArea": "", - "postalCode": "", - "country": "", - "electronicMailAddress": ["hello@example.com"] - } - } - ], - "metadata": { - "metadataInfo": { - "metadataIdentifier": { - "identifier": "", - "type": "" - }, - "parentMetadata": { - "title": "", - "alternateTitle": "", - "date": [ - { - "date": "0000-00-00", - "dateType": "" - } - ], - "edition": "", - "responsibleParty": [ - { - "contactId": "", - "role": "" - } - ], - "presentationForm": [""], - "identifier": [ - { - "identifier": "", - "type": "" - } - ], - "onlineResource": [ - { - "uri": "http://thisisanexample.com", - "protocol": "", - "name": "", - "description": "", - "function": "" - } - ] - }, - "metadataContact": [ - { - "contactId": "", - "role": "" - } - ], - "metadataCreationDate": "0000-00-00", - "metadataLastUpdate": "0000-00-00", - "metadataCharacterSet": "utf8", - "metadataLocale": [ - { - "language": "", - "country": "", - "characterSet": "" - } - ], - "metadataUri": "http://thisisanexample.com", - "metadataStatus": "", - "metadataMaintenance": { - "maintenanceFrequency": "", - "maintenanceNote": [""], - "maintenanceContact": [ - { - "contactId": "", - "role": "" - } - ] - } - }, - "resourceInfo": { - "resourceType": "", - "citation": { - "title": "", - "alternateTitle": "", - "date": [ - { - "date": "0000-00-00", - "dateType": "" - } - ], - "edition": "", - "responsibleParty": [ - { - "contactId": "", - "role": "" - } - ], - "presentationForm": [""], - "identifier": [ - { - "identifier": "", - "type": "", - "authority": { - "title": "", - "alternateTitle": "", - "date": [ - { - "date": "0000-00-00", - "dateType": "" - } - ], - "responsibleParty": [ - { - "contactId": "", - "role": "" - } - ], - "onlineResource": [ - { - "uri": "http://thisisanexample.com", - "protocol": "", - "name": "", - "description": "", - "function": "" - } - ] - } - } - ], - "onlineResource": [ - { - "uri": "http://thisisanexample.com", - "protocol": "", - "name": "", - "description": "", - "function": "" - } - ] - }, - "resourceTimePeriod": { - "description": "", - "beginPosition": "0000-00-00", - "endPosition": "0000-00-00" - }, - "pointOfContact": [ - { - "contactId": "", - "role": "" - } - ], - "abstract": "", - "shortAbstract": "", - "status": "", - "hasMapLocation": true, - "hasDataAvailable": true, - "language": [""], - "characterSet": [""], - "locale": [ - { - "language": "", - "country": "", - "characterSet": "" - } - ], - "purpose": "", - "credit": [""], - "topicCategory": [""], - "environmentDescription": "", - "resourceNativeFormat": [ - { - "formatName": "", - "version": "" - } - ], - "keyword": [ - { - "keyword": [""], - "keywordType": "", - "thesaurus": { - "title": "", - "alternateTitle": "", - "date": [ - { - "date": "0000-00-00", - "dateType": "" - } - ], - "edition": "", - "responsibleParty": [ - { - "contactId": "", - "role": "" - } - ], - "presentationForm": [""], - "identifier": [ - { - "identifier": "", - "type": "", - "authority": { - "title": "", - "alternateTitle": "", - "date": [ - { - "date": "0000-00-00", - "dateType": "" - } - ], - "responsibleParty": [ - { - "contactId": "", - "role": "" - } - ], - "onlineResource": [ - { - "uri": "http://thisisanexample.com", - "protocol": "", - "name": "", - "description": "", - "function": "" - } - ] - } - } - ], - "onlineResource": [ - { - "uri": "http://thisisanexample.com", - "protocol": "", - "name": "", - "description": "", - "function": "" - } - ] - } - } - ], - "resourceMaintenance": [ - { - "maintenanceFrequency": "", - "maintenanceNote": [""], - "maintenanceContact": [ - { - "contactId": "", - "role": "" - } - ] - } - ], - "resourceSpecificUsage": [ - { - "specificUsage": "", - "userDeterminedLimitation": "", - "userContactInfo": [ - { - "contactId": "", - "role": "" - } - ] - } - ], - "graphicOverview": [ - { - "fileName": "", - "fileDescription": "", - "fileType": "", - "fileUri": "http://thisisanexample.com" - } - ], - "constraint": { - "useLimitation": [""], - "legalConstraint": [ - { - "accessConstraint": [""], - "useConstraint": [""], - "otherConstraint": [""] - } - ], - "securityConstraint": [ - { - "classification": "", - "classificationSystem": "", - "handlingDescription": "", - "userNote": "" - } - ] - }, - "taxonomy": { - "classificationSystem": [ - { - "title": "", - "alternateTitle": "", - "date": [ - { - "date": "0000-00-00", - "dateType": "" - } - ], - "edition": "", - "responsibleParty": [ - { - "contactId": "", - "role": "" - } - ], - "presentationForm": [""], - "identifier": [ - { - "identifier": "", - "type": "", - "authority": { - "title": "", - "alternateTitle": "", - "date": [ - { - "date": "0000-00-00", - "dateType": "" - } - ], - "responsibleParty": [ - { - "contactId": "", - "role": "" - } - ], - "onlineResource": [ - { - "uri": "http://thisisanexample.com", - "protocol": "", - "name": "", - "description": "", - "function": "" - } - ] - } - } - ], - "onlineResource": [ - { - "uri": "http://thisisanexample.com", - "protocol": "", - "name": "", - "description": "", - "function": "" - } - ] - } - ], - "taxonGeneralScope": "", - "observer": [ - { - "contactId": "", - "role": "" - } - ], - "taxonomicProcedure": "", - "voucher": { - "specimen": "", - "repository": { - "contactId": "", - "role": "" - } - }, - "taxonClass": [ - { - "common": "", - "taxonRank": "", - "taxonValue": "" - } - ] - }, - "spatialReferenceSystem": { - "name": [""], - "epsgNumber": [0], - "wkt": [""] - }, - "spatialRepresentation": [""], - "spatialResolution": [ - { - "equivalentScale": 0 - }, { - "distance": 0, - "uom": "" - } - ], - "extent": [ - { - "description": "", - "geographicElement": [ - { - "type": "Point", - "bbox": [0, 0, 0, 0], - "coordinates": [0, 0, 0], - "crs": { - "type": "name", - "properties": { - "name": "" - } - } - }, { - "type": "LineString", - "bbox": [0, 0, 0, 0], - "coordinates": [ - [0, 0, 0], - [0, 0, 0] - ], - "crs": { - "type": "name", - "properties": { - "name": "" - } - } - }, { - "type": "Polygon", - "bbox": [0, 0, 0, 0], - "coordinates": [ - [ - [0, 0, 0], - [0, 0, 0], - [0, 0, 0], - [0, 0, 0] - ], - [ - [0, 0, 0], - [0, 0, 0], - [0, 0, 0], - [0, 0, 0] - ] - ], - "crs": { - "type": "name", - "properties": { - "name": "" - } - } - }, { - "type": "MultiPoint", - "bbox": [0, 0, 0, 0], - "coordinates": [ - [0, 0, 0], - [0, 0, 0] - ], - "crs": { - "type": "name", - "properties": { - "name": "" - } - } - }, { - "type": "MultiLineString", - "bbox": [0, 0, 0, 0], - "coordinates": [ - [ - [0, 0, 0], - [0, 0, 0], - [0, 0, 0], - [0, 0, 0] - ], - [ - [0, 0, 0], - [0, 0, 0], - [0, 0, 0], - [0, 0, 0] - ] - ], - "crs": { - "type": "name", - "properties": { - "name": "" - } - } - }, { - "type": "MultiPolygon", - "bbox": [0, 0, 0, 0], - "coordinates": [ - [ - [ - [0, 0, 0], - [0, 0, 0], - [0, 0, 0], - [0, 0, 0] - ], - [ - [0, 0, 0], - [0, 0, 0], - [0, 0, 0], - [0, 0, 0] - ] - ], - [ - [ - [0, 0, 0], - [0, 0, 0], - [0, 0, 0], - [0, 0, 0] - ], - [ - [0, 0, 0], - [0, 0, 0], - [0, 0, 0], - [0, 0, 0] - ] - ] - ], - "crs": { - "type": "name", - "properties": { - "name": "" - } - } - }, { - "type": "GeometryCollection", - "geometries": [] - }, { - "type": "Feature", - "id": "", - "bbox": [0, 0, 0, 0], - "geometry": { - "type": "Point", - "coordinates": [0, 0, 0] - }, - "geometry": { - "type": "LineString", - "coordinates": [ - [0, 0, 0], - [0, 0, 0] - ] - }, - "geometry": { - "type": "Polygon", - "coordinates": [ - [ - [0, 0, 0], - [0, 0, 0], - [0, 0, 0], - [0, 0, 0] - ], - [ - [0, 0, 0], - [0, 0, 0], - [0, 0, 0], - [0, 0, 0] - ] - ] - }, - "crs": { - "type": "name", - "properties": { - "name": "" - } - }, - "properties": { - "featureName": "", - "description": "", - "includesData": true, - "temporalElement": { - "date": ["0000-00-00"], - "timeInstant": [ - { - "id": "", - "description": "", - "timePosition": "0000-00-00T00:00:00.0+00:00" - } - ], - "timePeriod": [ - { - "id": "", - "description": "", - "beginPosition": "0000-00-00T00:00:00.0+00:00", - "endPosition": "0000-00-00T00:00:00.0+00:00" - } - ] - }, - "verticalElement": [ - { - "minimumValue": 0, - "maximumValue": 0, - "verticalCRSTitle": "", - "verticalCRSUri": "http://thisisanexample.com" - } - ], - "identifier": [ - { - "identifier": "", - "type": "", - "authority": { - "title": "", - "alternateTitle": "", - "date": [ - { - "date": "0000-00-00", - "dateType": "" - } - ], - "responsibleParty": [ - { - "contactId": "", - "role": "" - } - ], - "onlineResource": [ - { - "uri": "http://thisisanexample.com", - "protocol": "", - "name": "", - "description": "", - "function": "" - } - ] - } - } - ], - "featureScope": "", - "featureAcquisitionMethod": "" - } - }, { - "type": "FeatureCollection", - "id": "", - "bbox": [0, 0, 0, 0], - "properties": { - "description": "", - "includesData": true - }, - "crs": { - "type": "link", - "properties": { - "href": "http://thisisanexample.com", - "type": "" - } - }, - "features": [] - } - ], - "temporalElement": { - "date": ["0000-00-00"], - "timeInstant": [ - { - "id": "", - "description": "", - "timePosition": "0000-00-00T00:00:00.0+00:00" - } - ], - "timePeriod": [ - { - "id": "", - "description": "", - "beginPosition": "0000-00-00T00:00:00.0+00:00", - "endPosition": "0000-00-00T00:00:00.0+00:00" - } - ] - }, - "verticalElement": [ - { - "minimumValue": 0, - "maximumValue": 0, - "verticalCRSTitle": "", - "verticalCRSUri": "http://thisisanexample.com" - } - ] - } - ], - "gridInfo": [ - { - "numberOfDimensions": 9, - "dimension": [ - { - "dimensionType": "", - "dimensionSize": 9, - "resolution": 9.99, - "resolutionUnit": "", - "dimensionTitle": "", - "dimensionDescription": "" - } - ], - "cellGeometry": "", - "transformationParameterAvailability": false - } - ], - "rasterInfo": [ - { - "rasterDescription": "", - "processingLevel": { - "identifier": "", - "type": "", - "namespace": "", - "version": "", - "description": "", - "authority": { - "title": "", - "alternateTitle": "", - "date": [ - { - "date": "", - "dateType": "" - } - ], - "responsibleParty": [ - { - "contactId": "", - "role": "" - } - ], - "onlineResource": [ - { - "uri": "", - "protocol": "", - "name": "", - "description": "", - "function": "" - } - ] - } - }, - "illuminationElevationAngle": 999.99, - "illuminationAzimuthAngle": 999.99, - "imagingCondition": "", - "imageQuality": { - "identifier": "", - "type": "", - "namespace": "", - "version": "", - "description": "", - "authority": { - "title": "", - "alternateTitle": "", - "date": [ - { - "date": "", - "dateType": "" - } - ], - "responsibleParty": [ - { - "contactId": "", - "role": "" - } - ], - "onlineResource": [ - { - "uri": "", - "protocol": "", - "name": "", - "description": "", - "function": "" - } - ] - } - }, - "cloudCoverPercent": 999.99, - "compressionQuantity": 9, - "triangulationIndicator": true, - "radiometricCalibrationAvailable": true, - "cameraCalibrationAvailable": true, - "filmDistortionAvailable": true, - "lensDistortionAvailable": true, - "attributeGroup": [ - { - "contentType": [""], - "attribute": [ - { - "attributeName": "", - "attributeType": "", - "description": "", - "attributeDomain": [ - { - "identifier": "", - "type": "", - "namespace": "", - "version": "", - "description": "", - "authority": { - "title": "", - "alternateTitle": "", - "date": [ - { - "date": "", - "dateType": "" - } - ], - "responsibleParty": [ - { - "contactId": "", - "role": "" - } - ], - "onlineResource": [ - { - "uri": "", - "protocol": "", - "name": "", - "description": "", - "function": "" - } - ] - } - } - ], - "maxValue": 999.99, - "minValue": 999.99, - "units": "", - "scaleFactor": 999.99, - "offset": 999.99, - "meanValue": 999.99, - "numberOfValues": 9, - "standardDeviation": 999.999, - "bitsPerValue": 8, - "sensorMax": 999.99, - "sensorMin": 999.99, - "sensorUnit": "", - "peakResponse": 999.99, - "toneGradation": 9 - } - ] - } - ] - } - ], - "gridInfo": [ - { - "numberOfDimensions": 9, - "dimension": [ - { - "dimensionType": "", - "dimensionSize": 9, - "resolution": 9, - "resolutionUnit": "", - "dimensionTitle": "", - "dimensionDescription": "" - } - ], - "cellGeometry": "", - "transformationParameterAvailability": false - } - ], - "coverageInfo": [ - { - "coverageType": "", - "coverageName": "", - "coverageDescription": "", - "processingLevel": { - "identifier": "", - "type": "", - "namespace": "", - "version": "", - "description": "", - "authority": { - "title": "", - "alternateTitle": "", - "date": [ - { - "date": "1111-11-11", - "dateType": "" - } - ], - "responsibleParty": [ - { - "contactId": "", - "role": "" - } - ], - "onlineResource": [ - { - "uri": "http://thisisanexample.com", - "protocol": "", - "name": "", - "description": "", - "function": "" - } - ] - } - }, - "coverageItem": [ - { - "itemName": "", - "itemType": "", - "itemDescription": "", - "minValue": 999.99, - "maxValue": 999.99, - "units": "", - "scaleFactor": 999.99, - "offset": 999.99, - "meanValue": 999.99, - "standardDeviation": 999.99, - "bitsPerValue": 9, - "classifiedData": { - "numberOfClasses": 9, - "classifiedDataItem": [ - { - "className": "", - "classDescription": "", - "classValue": 999.99 - } - ] - }, - "sensorInfo": { - "toneGradations": 9, - "sensorMin": 999.99, - "sensorMax": 999.99, - "sensorUnits": "", - "sensorPeakResponse": 999.99 - } - } - ], - "imageInfo": { - "illuminationElevationAngle": 999.99, - "illuminationAzimuthAngle": 999.99, - "imagingCondition": "", - "imageQuality": { - "identifier": "", - "type": "", - "namespace": "", - "version": "", - "description": "", - "authority": { - "title": "", - "alternateTitle": "", - "date": [ - { - "date": "1111-11-11", - "dateType": "" - } - ], - "responsibleParty": [ - { - "contactId": "", - "role": "" - } - ], - "onlineResource": [ - { - "uri": "http://thisisanexample.com", - "protocol": "", - "name": "", - "description": "", - "function": "" - } - ] - } - }, - "cloudCoverPercent": 99.99, - "compressionQuantity": 9, - "triangulationIndicator": true, - "radiometricCalibrationAvailable": true, - "cameraCalibrationAvailable": true, - "filmDistortionAvailable": true, - "lensDistortionAvailable": true - } - } - ], - "dataQualityInfo": [ - { - "scope": "", - "lineage": { - "statement": "", - "processStep": [ - { - "stepId": "", - "description": "", - "rationale": "", - "dateTime": "0000-00-00", - "processor": [ - { - "contactId": "", - "role": "" - } - ] - } - ], - "source": [ - { - "description": "", - "citation": { - "title": "", - "alternateTitle": "", - "date": [ - { - "date": "0000-00-00", - "dateType": "" - } - ], - "edition": "", - "responsibleParty": [ - { - "contactId": "", - "role": "" - } - ], - "presentationForm": [""], - "identifier": [ - { - "identifier": "", - "type": "", - "authority": { - "title": "", - "alternateTitle": "", - "date": [ - { - "date": "0000-00-00", - "dateType": "" - } - ], - "responsibleParty": [ - { - "contactId": "", - "role": "" - } - ], - "onlineResource": [ - { - "uri": "http://thisisanexample.com", - "protocol": "", - "name": "", - "description": "", - "function": "" - } - ] - } - } - ] - }, - "processStep": [ - { - "stepId": "", - "description": "", - "rationale": "", - "dateTime": "0000-00-00", - "processor": [ - { - "contactId": "", - "role": "" - } - ] - } - ] - } - ] - } - } - ], - "supplementalInfo": "" - }, - "distributionInfo": [ - { - "distributorContact": { - "contactId": "", - "role": "" - }, - "distributionOrderProcess": [ - { - "fees": "", - "plannedAvailabilityDateTime": "0000-00-00", - "orderingInstructions": "", - "turnaround": "" - } - ], - "distributorTransferOptions": [ - { - "distributorFormat": [ - { - "formatName": "", - "version": "", - "compressionMethod": "" - } - ], - "transferSize": 9.9, - "transferSizeUnits": "kB", - "online": [ - { - "uri": "http://thisisanexample.com", - "protocol": "", - "name": "", - "description": "", - "function": "" - } - ], - "offline": { - "name": "", - "mediumCapacity": 9.9, - "mediumCapacityUnits": "GB", - "mediumFormat": "", - "mediumNote": "" - } - } - ] - } - ], - "associatedResource": [ - { - "associationType": "", - "initiativeType": "", - "resourceType": "", - "resourceCitation": { - "title": "", - "alternateTitle": "", - "date": [ - { - "date": "0000-00-00", - "dateType": "" - } - ], - "edition": "", - "responsibleParty": [ - { - "contactId": "", - "role": "" - } - ], - "presentationForm": [""], - "identifier": [ - { - "identifier": "", - "type": "", - "authority": { - "title": "", - "alternateTitle": "", - "date": [ - { - "date": "0000-00-00", - "dateType": "" - } - ], - "responsibleParty": [ - { - "contactId": "", - "role": "" - } - ], - "onlineResource": [ - { - "uri": "http://thisisanexample.com", - "protocol": "", - "name": "", - "description": "", - "function": "" - } - ] - } - } - ], - "onlineResource": [ - { - "uri": "http://thisisanexample.com", - "protocol": "", - "name": "", - "description": "", - "function": "" - } - ] - }, - "metadataCitation": { - "title": "", - "alternateTitle": "", - "date": [ - { - "date": "0000-00-00", - "dateType": "" - } - ], - "edition": "", - "responsibleParty": [ - { - "contactId": "", - "role": "" - } - ], - "presentationForm": [""], - "identifier": [ - { - "identifier": "", - "type": "", - "authority": { - "title": "", - "alternateTitle": "", - "date": [ - { - "date": "0000-00-00", - "dateType": "" - } - ], - "responsibleParty": [ - { - "contactId": "", - "role": "" - } - ], - "onlineResource": [ - { - "uri": "http://thisisanexample.com", - "protocol": "", - "name": "", - "description": "", - "function": "" - } - ] - } - } - ], - "onlineResource": [ - { - "uri": "http://thisisanexample.com", - "protocol": "", - "name": "", - "description": "", - "function": "" - } - ] - } - } - ], - "additionalDocumentation": [ - { - "resourceType": "", - "citation": { - "title": "", - "alternateTitle": "", - "date": [ - { - "date": "0000-00-00", - "dateType": "" - } - ], - "edition": "", - "responsibleParty": [ - { - "contactId": "", - "role": "" - } - ], - "presentationForm": [""], - "identifier": [ - { - "identifier": "", - "type": "", - "authority": { - "title": "", - "alternateTitle": "", - "date": [ - { - "date": "0000-00-00", - "dateType": "" - } - ], - "responsibleParty": [ - { - "contactId": "", - "role": "" - } - ], - "onlineResource": [ - { - "uri": "http://thisisanexample.com", - "protocol": "", - "name": "", - "description": "", - "function": "" - } - ] - } - } - ], - "onlineResource": [ - { - "uri": "http://thisisanexample.com", - "protocol": "", - "name": "", - "description": "", - "function": "" - } - ] - } - } - ] - }, - "dataDictionary": [ - { - "dictionaryInfo": { - "citation": { - "title": "", - "alternateTitle": "", - "date": [ - { - "date": "0000-00-00", - "dateType": "" - } - ], - "edition": "", - "responsibleParty": [ - { - "contactId": "", - "role": "" - } - ], - "onlineResource": [ - { - "uri": "http://thisisanexample.com", - "protocol": "", - "name": "", - "description": "", - "function": "" - } - ] - }, - "description": "", - "resourceType": "", - "language": "", - "includedWithDataset": true - }, - "domain": [ - { - "domainId": "", - "commonName": "", - "codeName": "", - "description": "", - "member": [ - { - "name": "", - "value": "", - "definition": "" - } - ] - } - ], - "entity": [ - { - "entityId": "", - "commonName": "", - "codeName": "", - "alias": [""], - "definition": "", - "primaryKeyAttributeCodeName": [""], - "index": [ - { - "codeName": "", - "allowDuplicates": false, - "attributeCodeName": [""] - } - ], - "attribute": [ - { - "commonName": "", - "codeName": "", - "alias": [""], - "definition": "", - "dataType": "", - "allowNull": true, - "units": "", - "domainId": "", - "minValue": "", - "maxValue": "" - } - ], - "foreignKey": [ - { - "localAttributeCodeName": [""], - "referencedEntityCodeName": "", - "referencedAttributeCodeName": [""] - } - ] - } - ] - } - ] -} \ No newline at end of file