Inclusio-Community / json-image-metadata

A specifiction for expressing technical image metadata, with an emphasis on accessibility of data visualizations
2 stars 2 forks source link

Add new fields to JIM dataset: `representation`, `representation.chartType`, `description, facets.*.measure`, `facets.*.units`, `facets.*.multiplier` #16

Open shepazu opened 3 months ago

shepazu commented 3 months ago

Here's some sample JIM for reference:

{
  "dataset": [
    {
      "title": "Satisfaction Level",
      "subtitle": "Results of user survey",
      "source": {
        "url": "https://example.com",
        "name": "Example source"
      },
      "representation": {
        "chartType": "bar"
      },
      "description": "add line description here",
      "facets": {
        "x": {
          "label": "Satisfaction scores",
          "variableType": "independent",
          "measure": "ordinal"
        },
        "y": {
          "label": "Number of respondants",
          "variableType": "dependent",
          "measure": "ratio",
          "units": "integer",
          "multiplier": "1"
        }
      },
      "series": []
    }
  ]
}
shepazu commented 3 months ago

Add more details about the chartType strings, and the measure key.