{
  "id": "tradle.WebApiCredentials",
  "title": "Web API Credentials",
  "subClassOf": "tradle.Configuration",
  "type": "tradle.Model",
  "properties": {
    "url": {
      "type": "string",
      "range": "url",
      "displayName": true
    },
    "lastUpdated": {
      "type": "string",
      "displayName": true,
      "readOnly": true
    },
    "expirationPeriod": {
      "type": "object",
      "inlined": true,
      "ref": "tradle.Duration"
    },
    "password": {
      "type": "string",
      "range": "password"
    },
    "apiKey": {
      "type": "string"
    }
  },
  "required": [
    "url"
  ],
  "viewCols": [
    "url",
    "expirationPeriod",
    "lastUpdated"
  ]
}