{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/modoboa/json-schema/modoboa-fido-schema.json",
  "title": "FIDO",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/modoboa-fido-api-openapi.yml#/components/schemas/FIDO",
  "type": "object",
  "properties": {
    "id": {
      "type": "integer",
      "readOnly": true
    },
    "name": {
      "type": "string",
      "maxLength": 255
    },
    "added_on": {
      "type": "string",
      "format": "date-time",
      "readOnly": true
    },
    "last_used": {
      "type": [
        "string",
        "null"
      ],
      "format": "date-time",
      "readOnly": true
    },
    "use_count": {
      "type": "integer",
      "readOnly": true
    }
  },
  "required": [
    "added_on",
    "id",
    "last_used",
    "name",
    "use_count"
  ]
}