passbolt-styleguide
Version:
Passbolt styleguide contains common styling assets used by the different sites, plugin, etc.
129 lines (128 loc) • 2.89 kB
JavaScript
export default [
{
"id": "669f8c64-242a-59fb-92fc-81f660975fd3",
"slug": "password-string",
"name": "Simple password",
"description": "The original passbolt resource type, where the secret is a non empty string.",
"definition": {
"resource": {
"type": "object",
"required": [
"name"
],
"properties": {
"name": {
"type": "string",
"maxLength": 255
},
"username": {
"anyOf": [
{
"type": "string",
"maxLength": 255
},
{
"type": "null"
}
]
},
"uri": {
"anyOf": [
{
"type": "string",
"maxLength": 1024
},
{
"type": "null"
}
]
},
"description": {
"anyOf": [
{
"type": "string",
"maxLength": 10000
},
{
"type": "null"
}
]
}
}
},
"secret": {
"type": "string",
"maxLength": 4064
}
},
"created": "2020-09-02T07:23:19+00:00",
"modified": "2020-09-02T07:23:19+00:00"
},
{
"id": "a28a04cd-6f53-518a-967c-9963bf9cec51",
"slug": "password-and-description",
"name": "Password with description",
"description": "A resource with the password and the description encrypted.",
"definition": {
"resource": {
"type": "object",
"required": [
"name"
],
"properties": {
"name": {
"type": "string",
"maxLength": 255
},
"username": {
"anyOf": [
{
"type": "string",
"maxLength": 255
},
{
"type": "null"
}
]
},
"uri": {
"anyOf": [
{
"type": "string",
"maxLength": 1024
},
{
"type": "null"
}
]
}
}
},
"secret": {
"type": "object",
"required": [
"password"
],
"properties": {
"password": {
"type": "string",
"maxLength": 4064
},
"description": {
"anyOf": [
{
"type": "string",
"maxLength": 10000
},
{
"type": "null"
}
]
}
}
}
},
"created": "2020-09-02T07:23:19+00:00",
"modified": "2020-09-02T07:23:19+00:00"
}
];