interpretable / api

Cboard API provides backend functionality and persistence to the Cboard application
https://cboard-api.appspot.com/docs/
GNU General Public License v3.0
0 stars 0 forks source link

Expose boards as open data at data.grandlyon.com #8

Open lutangar opened 1 year ago

lutangar commented 1 year ago

See https://github.com/interpretable/api/issues/5#issuecomment-1308545574 for a quick and subjective introduction to AAC. This needs to be rephrase to enter a proper documentation.

If Interpetable boards are to be exposed at https://data.grandlyon.com/ then they should be exposed as OBF files and images hosted there as well. It should also be possible to download an obz (archived version) of these obf files.

Open Board Format (OBF)

By linking the board files, the manifest.json allow self-discoverability :

{
  "format": "open-board-0.1",
  "root": "https://download.data.grandlyon.com/ws/rdata/interpretable/boards/1.obf",
  "paths": {
    "boards": {
      "1": "https://download.data.grandlyon.com/ws/rdata/interpretable/boards/1.obf",
      "2": "https://download.data.grandlyon.com/ws/rdata/interpretable/boards/2.obf"
    },
    "images": { },
    "sounds": { }
  }
}

Example of a board with a link to an hosted image :

{
  "format": "open-board-0.1",
  "id": "1",
  "locale": "fr",
  "url": "http://interpretable.projets.erasme.org/",
  "name": "Interpretable",
  "description_html": "This is just a <b>simple</b> example board I put together.",
  "buttons": [
    {
      "id": "1",
      "image_id": "2",
      "label": "happy",
      "border_color": "rgb(0, 0, 55)",
      "background_color": "rgba(200, 255, 255, 0.2)"
    },
    {
      "id": "2",
      "label": "drinks",
      "image_id": "2"
    },
  ],
  "grid": {
    "rows": 1,
    "columns": 2,
    "order": [
      ["1","2"]
    ]
  },
  "images": [
    {
      "id": "1",
      "url": "https://download.data.grandlyon.com/files/interpretable/attendre_a_l_accueil.png",
      "width": 1024,
      "height": 768,
      "content_type": "image/png"
    }
  ]
}

Resources

Alternative Augmentative Communication

Open Board Format

:fr: Open Data Grand Lyon

JeromeGutman commented 1 year ago

I think it's a good idea to expose OBF format at data.grandlyon.com, for AAC users. But we should also deliver widespread format, as csv by example.