{ "$defs": { "DataField": { "additionalProperties": false, "description": "Description of a data field (column) compatible with frictionless table-schema and extended with echemdb-specific properties for physical quantities.", "properties": { "description": { "description": "A description of that field.", "type": [ "string", "null" ] }, "dimension": { "description": "Physical dimension of the field (e.g., 'time', 'potential', 'current density').", "type": [ "string", "null" ] }, "format": { "description": "Format specification for the field type (default, email, uri, binary, uuid for strings; default for numbers).", "type": [ "string", "null" ] }, "name": { "description": "Name of the data field. Use single letters for specific systems. Otherwise use descriptive names like 't_rel', 'E_WE', or 'j_WE'.", "type": "string" }, "orientation": { "$ref": "#/$defs/FieldOrientation", "description": "Axis orientation in plots (horizontal for x-axis, vertical for y-axis)." }, "reference": { "description": "Reference electrode or reference point for this measurement (electrochemistry-specific).", "type": [ "string", "null" ] }, "title": { "description": "A human-readable title for this field.", "type": [ "string", "null" ] }, "type": { "description": "Data type of the field (string, number, integer, boolean, object, array, date, time, datetime, year, duration, geopoint, geojson, any).", "type": [ "string", "null" ] }, "unit": { "description": "Unit of measurement for this field (SI or conventional electrochemical units), following astropy's string unit notation.", "type": [ "string", "null" ] } }, "required": [ "name" ], "title": "DataField", "type": "object" }, "FieldOrientation": { "description": "Axis orientation in plots.", "enum": [ "horizontal", "vertical" ], "title": "FieldOrientation", "type": "string" }, "FigureDescription": { "additionalProperties": false, "description": "Description of the data to a figure or plot including data type and measurement details.", "properties": { "comment": { "description": "Additional notes about the figure or data.", "type": [ "string", "null" ] }, "fields": { "description": "Description of data fields/columns in the figure.", "items": { "$ref": "#/$defs/DataField" }, "type": [ "array", "null" ] }, "measurementType": { "description": "Acronym type for the measurement performed, such as CV, EIS, XPS, etc.", "type": [ "string", "null" ] }, "scanRate": { "anyOf": [ { "$ref": "#/$defs/Quantity" }, { "type": "null" } ], "description": "The rate at which the data has been recorded." }, "simultaneousMeasurements": { "description": "Other measurements performed simultaneously, such as ring current, IR, Raman, ICP-MS.", "items": { "type": "string" }, "type": [ "array", "null" ] }, "type": { "$ref": "#/$defs/FigureDescriptionType", "description": "Source or origin of the data, such as digitized, raw, simulated, or processed." } }, "required": [ "type" ], "title": "FigureDescription", "type": "object" }, "FigureDescriptionType": { "description": "Source or origin of the data.", "enum": [ "digitized", "raw", "simulated", "processed" ], "title": "FigureDescriptionType", "type": "string" }, "Quantity": { "additionalProperties": false, "description": "A physical quantity with a value, unit, and optional uncertainty.", "properties": { "calculation": { "description": "Method or formula used to calculate this quantity.", "type": [ "string", "null" ] }, "comment": { "description": "Additional notes about the measurement or quantity.", "type": [ "string", "null" ] }, "uncertainty": { "anyOf": [ { "$ref": "#/$defs/Uncertainty" }, { "type": "null" } ], "description": "Uncertainty information for a measured quantity." }, "unit": { "description": "Unit of measurement following astropy's string notation (e.g., 'mol / l', 'V', 'mA / cm2'). Use an empty string for dimensionless quantities.", "type": [ "string", "number", "null" ] }, "value": { "description": "Numerical value of the quantity.", "type": [ "string", "number", "null" ] } }, "title": "Quantity", "type": "object" }, "SvgdigitizerEchemdbMetadata": { "additionalProperties": false, "description": "Simplified echemdb metadata for digitized data.", "properties": { "experimental": { "anyOf": [ { "$ref": "#/$defs/SvgdigitizerExperimental" }, { "type": "null" } ], "description": "Experimental tags or keywords." }, "figureDescription": { "$ref": "#/$defs/FigureDescription", "description": "Description of the digitized figure." }, "source": { "anyOf": [ { "$ref": "#/$defs/SvgdigitizerSource" }, { "type": "null" } ], "description": "Source publication information for digitized data." } }, "required": [ "figureDescription" ], "title": "SvgdigitizerEchemdbMetadata", "type": "object" }, "SvgdigitizerExperimental": { "additionalProperties": false, "description": "Experimental tags or keywords for svgdigitizer.", "properties": { "tags": { "description": "List of tags describing the experiment or measurement.", "items": { "type": "string" }, "type": [ "array", "null" ] } }, "title": "SvgdigitizerExperimental", "type": "object" }, "SvgdigitizerPackage": { "additionalProperties": true, "description": "Data package schema for svgdigitizer output following the Frictionless Data Package specification with simplified echemdb metadata.", "properties": { "resources": { "description": "Data resources within the package.", "items": { "allOf": [ { "$ref": "https://datapackage.org/profiles/2.0/dataresource.json" }, { "$ref": "#/$defs/SvgdigitizerResource" } ] }, "type": [ "array", "null" ] } }, "title": "SvgdigitizerPackage", "type": "object" }, "SvgdigitizerResource": { "additionalProperties": true, "description": "A resource created by svgdigitizer with minimal echemdb metadata.", "properties": { "metadata": { "anyOf": [ { "$ref": "#/$defs/SvgdigitizerResourceMetadata" }, { "type": "null" } ], "description": "Metadata container for the digitized resource." } }, "title": "SvgdigitizerResource", "type": "object" }, "SvgdigitizerResourceMetadata": { "additionalProperties": false, "description": "Metadata container for svgdigitizer output.", "properties": { "echemdb": { "$ref": "#/$defs/SvgdigitizerEchemdbMetadata", "description": "Simplified echemdb metadata for digitized data." } }, "required": [ "echemdb" ], "title": "SvgdigitizerResourceMetadata", "type": "object" }, "SvgdigitizerSource": { "additionalProperties": false, "description": "Source publication information for digitized data.", "properties": { "bibdata": { "description": "BibTeX bibliographic data.", "type": [ "string", "null" ] }, "citationKey": { "description": "BibTeX citation key for the source following ___ format.", "type": [ "string", "null" ] }, "curve": { "description": "Specific curve identifier within the figure.", "type": [ "string", "null" ] }, "figure": { "description": "Figure identifier in the source publication.", "type": [ "string", "null" ] }, "techniques": { "description": "Techniques used in the source data.", "items": { "type": "string" }, "type": [ "array", "null" ] }, "url": { "description": "URL or DOI of the source publication.", "pattern": "^https?://.*$", "type": [ "string", "null" ] } }, "title": "SvgdigitizerSource", "type": "object" }, "Uncertainty": { "additionalProperties": false, "description": "Uncertainty information for a measured quantity.", "properties": { "comment": { "description": "Additional information about the uncertainty estimation.", "type": [ "string", "null" ] }, "negativeValue": { "description": "Lower bound (-) for asymmetric uncertainties.", "type": [ "number", "null" ] }, "positiveValue": { "description": "Upper bound (+) for asymmetric uncertainties.", "type": [ "number", "null" ] }, "type": { "$ref": "#/$defs/UncertaintyType", "description": "Type of uncertainty (absolute or relative)." }, "unit": { "description": "Unit of the uncertainty value, following astropy's string notation. Use an empty string for dimensionless quantities.", "type": [ "string", "null" ] }, "value": { "description": "Symmetric uncertainty value (±).", "type": [ "number", "null" ] } }, "title": "Uncertainty", "type": "object" }, "UncertaintyType": { "description": "Type of uncertainty measurement.", "enum": [ "absolute", "relative" ], "title": "UncertaintyType", "type": "string" } }, "$id": "https://echemdb.github.io/metadata-schema/svgdigitizer_package", "$schema": "http://json-schema.org/draft-07/schema#", "additionalProperties": true, "description": "Data package schema for svgdigitizer output following the Frictionless Data Package specification with simplified echemdb metadata.", "metamodel_version": "1.7.0", "properties": { "resources": { "description": "Data resources within the package.", "items": { "allOf": [ { "$ref": "https://datapackage.org/profiles/2.0/dataresource.json" }, { "$ref": "#/$defs/SvgdigitizerResource" } ] }, "type": [ "array", "null" ] } }, "title": "svgdigitizer_package", "type": "object", "version": null }