diff --git a/variable-level-metadata-schema/templates/template_submission.csv b/variable-level-metadata-schema/templates/template_submission.csv index 1e629e3..d4f061a 100644 --- a/variable-level-metadata-schema/templates/template_submission.csv +++ b/variable-level-metadata-schema/templates/template_submission.csv @@ -1 +1,2 @@ -schemaVersion,section,name,title,description,type,format,constraints.required,constraints.maxLength,constraints.enum,constraints.pattern,constraints.maximum,constraints.minimum,enumLabels,enumOrdered,missingValues,trueValues,falseValues,custom,standardsMappings[0].instrument.url,standardsMappings[0].instrument.source,standardsMappings[0].instrument.title,standardsMappings[0].instrument.id,standardsMappings[0].item.url,standardsMappings[0].item.source,standardsMappings[0].item.id,relatedConcepts[0].url,relatedConcepts[0].title,relatedConcepts[0].source,relatedConcepts[0].id \ No newline at end of file +schemaVersion,section,name,title,description,type,format,constraints.required,constraints.maxLength,constraints.enum,constraints.pattern,constraints.maximum,constraints.minimum,enumLabels,enumOrdered,missingValues,trueValues,falseValues,custom,standardsMappings[0].instrument.url,standardsMappings[0].instrument.source,standardsMappings[0].instrument.title,standardsMappings[0].instrument.id,standardsMappings[0].item.url,standardsMappings[0].item.source,standardsMappings[0].item.id,relatedConcepts[0].url,relatedConcepts[0].title,relatedConcepts[0].source,relatedConcepts[0].id +1.3.0,,Name,Title,Description,,,,,,,,,,,,,,custom=iscustom,,heal-cde,,,,,,,,, \ No newline at end of file diff --git a/variable-level-metadata-schema/templates/template_submission.json b/variable-level-metadata-schema/templates/template_submission.json index c8d2524..c80f8d1 100644 --- a/variable-level-metadata-schema/templates/template_submission.json +++ b/variable-level-metadata-schema/templates/template_submission.json @@ -1,67 +1,65 @@ -[ - { - "title": null, - "description": null, - "schemaVersion": null, - "version": null, - "standardsMappings": [ - { - "instrument": { - "url": null, - "source": null, - "title": null, - "id": null - } +{ + "title": "Title", + "description": "description", + "schemaVersion": "1.3.0", + "version": "1.3.0", + "standardsMappings": [ + { + "instrument": { + "url": "https://example.com/instrument", + "source": "heal-cde", + "title": "Instrument Title", + "id": "Instrument ID" } - ], - "custom": {}, - "fields": [ - { - "schemaVersion": null, - "section": null, - "name": null, - "title": null, - "description": null, - "type": null, - "format": null, - "constraints": { - "required": null, - "maxLength": null, - "enum": [], - "pattern": null, - "maximum": null, - "minimum": null - }, - "enumLabels": {}, - "enumOrdered": null, - "missingValues": [], - "trueValues": [], - "falseValues": [], - "custom": {}, - "standardsMappings": [ - { - "instrument": { - "url": null, - "source": null, - "title": null, - "id": null - }, - "item": { - "url": null, - "source": null, - "id": null - } - } - ], - "relatedConcepts": [ - { - "url": null, - "title": null, - "source": null, - "id": null + } + ], + "custom": {}, + "fields": [ + { + "schemaVersion": "1.3.0", + "section": "Demographics", + "name": "name", + "title": "Title", + "description": "description", + "type": "number", + "format": "format", + "constraints": { + "required": false, + "maxLength": 4, + "enum": [], + "pattern": "pattern", + "maximum": 5, + "minimum": 1 + }, + "enumLabels": {}, + "enumOrdered": false, + "missingValues": [], + "trueValues": [], + "falseValues": [], + "custom": {}, + "standardsMappings": [ + { + "instrument": { + "url": "https://example.com/instrument", + "source": "heal-cde", + "title": "Instrument Title", + "id": "Instrument ID" + }, + "item": { + "url": "https://example.com/item", + "source": "heal-cde", + "id": "Item ID" } - ] - } - ] - } -] \ No newline at end of file + } + ], + "relatedConcepts": [ + { + "url": "https://example.com/related-concept", + "title": "Related Concept Title", + "source": "heal-cde", + "id": "Related Concept ID" + } + ] + } + ] +} \ No newline at end of file