{
  "$id": "/dcic/signature-commons-schema/v6/meta/schema/content.json",
  "$schema": "http://json-schema.org/draft-04/schema#",
  "allOf": [
    {
      "type": "object",
      "description": "The content used to change the ui",
      "properties": {
        "header": {
          "description": "Change header to this",
          "type": "string"
        },
        "metadata_placeholder": {
          "description": "Change metadata_placeholder to this",
          "type": "string"
        },
        "geneset_placeholder": {
          "description": "Change geneset_placeholder to this",
          "type": "string"
        },
        "up_genes_placeholder": {
          "description": "Change up_genes_placeholder to this",
          "type": "string"
        },
        "down_genes_placeholder": {
          "description": "Change down_genes_placeholder to this",
          "type": "string"
        },
        "text_1": {
          "description": "Change text_1 to this",
          "type": "string"
        },
        "text_2": {
          "description": "Change text_2 to this",
          "type": "string"
        },
        "text_3": {
          "description": "Change text_3 to this",
          "type": "string"
        },
        "text_4": {
          "description": "Change text_4 to this",
          "type": "string"
        },
        "resource_pie_caption": {
          "description": "Change resource_pie_caption to this",
          "type": "string"
        },
        "change_resource": {
          "description": "Change resource link to this",
          "type": "string"
        },
        "search_terms": {
          "description": "Search terms for metadata search",
          "type": "array",
          "items": [
            {
              "type": "string",
              "description": "Search Term"
            }
          ]
        },
        "geneset_terms": {
          "description": "\n delimited geneset terms for signature search",
          "type": "string"
        },
        "weighted_geneset_terms": {
          "description": "\n delimited weighted geneset terms for signature search",
          "type": "string"
        },
        "up_set_terms": {
          "description": "\n delimited up geneset terms for signature search",
          "type": "string"
        },
        "down_set_terms": {
          "description": "\n delimited down geneset terms for signature search",
          "type": "string"
        },
        "bar-chart": {
          "description": "Bar chart changes",
          "type": "object",
          "properties": {
            "Field_Name": {
              "type": "string",
              "description": "Field to use for bar charts"
            },
            "Caption": {
              "type": "string",
              "description": "Caption to use for bar charts"
            }
          }
        },
        "library_name": {
          "description": "Field to use as 'library name'",
          "type": "string"
        },
        "resource_name": {
          "description": "Field to use as 'resource name'",
          "type": "string"
        },
        "preferred_name_singular": {
          "description": "Singular names of tables (used when displaying metadata",
          "type": "object",
          "properties": {
            "libraries": {
              "description": "preferred singular term for libraries"
            },
            "signatures": {
              "description": "preferred singular term for signatures"
            },
            "entities": {
              "description": "preferred singular term for entities"
            }
          }
        },
        "counting_validator": {
          "description": "ID of counting validator",
          "type": "string"
        },
        "ui_schema": {
          "description": "ID of ui_schema",
          "type": "string"
        },
        "deactivate_download": {
          "description": "Deactivates download button",
          "type": "boolean"
        }
      },
      "required": [
        "library_name"
      ]
    }
  ]
}