Skip to main content

library_v2_0.json

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

Updated over 3 weeks ago

library.json

Copy 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"
    }
  },
  "required": [
    "name", "thumb"
  ]
}
Did this answer your question?