{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "title": "DataElementAttributes",
  "type": "object",
  "properties": {
    "name": {
      "type": "string",
      "description": "The human-readable name of the data element."
    },
    "delegate_descriptor_id": {
      "type": "string",
      "description": "The descriptor ID identifying the data element type from an extension."
    },
    "default_value": {
      "type": "string",
      "description": "The default value when the data element returns no value."
    },
    "settings": {
      "type": "string",
      "description": "A JSON-encoded string of settings for the data element."
    },
    "storage_duration": {
      "type": "string",
      "description": "How long the data element value persists."
    },
    "force_lower_case": {
      "type": "boolean",
      "description": "Whether to force the value to lowercase."
    },
    "clean_text": {
      "type": "boolean",
      "description": "Whether to clean whitespace from the value."
    },
    "enabled": {
      "type": "boolean",
      "description": "Whether the data element is enabled."
    },
    "published": {
      "type": "boolean"
    },
    "dirty": {
      "type": "boolean"
    },
    "revision_number": {
      "type": "integer"
    },
    "created_at": {
      "type": "string"
    },
    "updated_at": {
      "type": "string"
    }
  }
}