Skip to content

Latest commit

 

History

History
38 lines (33 loc) · 565 Bytes

README.md

File metadata and controls

38 lines (33 loc) · 565 Bytes

raspberry-service

A Kinto plugin to start/stop playing a playlist on MPD.

JSON schema:

{
  "properties": {
    "status": {
      "title": "Status",
      "type": "string",
      "description": "Is the tag on currently on the reader?",
      "enum": [
        "on",
        "off"
      ]
    },
    "nfcReader": {
      "title": "NFC Reader ID",
      "type": "string",
      "description": "The ID of the NFC reader that did the update"
    }
  },
  "type": "object"
}

UI schema:

{
  "ui:order": [
    "nfcReader",
    "status"
  ]
}