Skip to main content

library_v3_11.json

library.json Copy Json { "$schema": "http://json-schema.org/draft-04/schema#", "type": "object", "properties": { "name": { ...

library_v3_11.json

{
  "$schema": "http://json-schema.org/draft-04/schema#",
  "type": "object",
  "properties": {
    "name": {
      "description": "the name of the library, cannot start or end with whitespace and has minimum of 3 characters",
      "type": "string",
      "pattern": "^[\\S].*[\\S]{2,}$"
    },
    "thumb": {
      "description": "full path to a favicon file (.png or .jpeg), the recommended size is 17x17 pixels",
      "type": "string"
    },
    "error": {
      "description": "error text to show in case of a global asset library error",
      "type": "string"
    },
    "locales": {
      "description": "hold the translation to the library name",
      "type": "object",
      "$ref": "locales.json"
    }
  },
  "required": [
    "name",
    "thumb"
  ]
}

Did this answer your question?