{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/CredentialAttributePost",
  "title": "CredentialAttributePost",
  "type": "object",
  "description": "Attribute definition for creating a new credential",
  "required": [
    "name"
  ],
  "properties": {
    "name": {
      "type": "string",
      "description": "Attribute name"
    },
    "description": {
      "type": "string",
      "description": "Description of the attribute"
    },
    "masked": {
      "type": "boolean",
      "description": "Whether to mask this attribute's value"
    },
    "userProvided": {
      "type": "boolean",
      "description": "Whether users provide their own values"
    }
  }
}