{
  "name": "chant",
  "label": "Chant",
  "description": "An adapter for Chant specific features",
  "version": "0.0.0",
  "infoUrl": "https://chant.world/",
  "maintainer": "Kendraio",
  "supportUrl": "https://www.kendra.io",
  "database": [],
  "workflow": [],
  "forms": [
    {
      "formId": "gig",
      "title": "Gig",
      "jsonSchema": "schemas/gig.json",
      "uiSchema": "forms/gig-ui.json"
    },
    {
      "formId": "chant",
      "title": "Chant",
      "jsonSchema": "schemas/chant.json",
      "uiSchema": "forms/chant-ui.json"
    }
  ],
  "upload": {
    "enabled": true
  },
  "tags": [
    "music",
    "retail"
  ],
  "attachments": {
    "forms/chant-ui.json": {},
    "forms/gig-ui.json": {
      "startDate": {
        "ui:widget": "datepicker"
      }
    },
    "schemas/chant.json": {
      "title": "Chant",
      "description": "Metadata for a Chant recording",
      "type": "object",
      "properties": {
        "id": {
          "title": "Chant ID",
          "type": "string"
        },
        "userId": {
          "title": "User ID",
          "type": "string"
        },
        "date": {
          "title": "Date recorded",
          "type": "string",
          "format": "date-time"
        },
        "file": {
          "title": "File ID",
          "type": "string",
          "format": "uuid"
        },
        "gig": {
          "type": "object",
          "properties": {
            "id": {
              "title": "Gig ID",
              "description": "ID of related gig",
              "type": "string"
            },
            "name": {
              "title": "Gig name",
              "type": "string"
            }
          }
        }
      }
    },
    "schemas/gig.json": {
      "title": "Gig",
      "description": "What is happening and when?",
      "type": "object",
      "properties": {
        "id": {
          "title": "Gig ID",
          "type": "string"
        },
        "name": {
          "title": "Name",
          "type": "string"
        },
        "description": {
          "title": "Description",
          "type": "string"
        },
        "startDate": {
          "title": "Start date",
          "type": "string",
          "format": "date-time"
        },
        "upcoming": {
          "title": "Upcoming",
          "type": "boolean",
          "default": true
        }
      }
    }
  }
}