109 lines
2.8 KiB
JSON
109 lines
2.8 KiB
JSON
{
|
|
"summary": [
|
|
{
|
|
"name": "hermes_skills",
|
|
"title": "Skills repository with user isolation",
|
|
"primary": "id",
|
|
"catelog": "entity"
|
|
}
|
|
],
|
|
"fields": [
|
|
{
|
|
"name": "id",
|
|
"title": "Skill ID",
|
|
"type": "str",
|
|
"length": 32,
|
|
"nullable": "no",
|
|
"comments": "Unique skill identifier"
|
|
},
|
|
{
|
|
"name": "user_id",
|
|
"title": "User ID",
|
|
"type": "str",
|
|
"length": 32,
|
|
"nullable": "no",
|
|
"comments": "User who owns this skill"
|
|
},
|
|
{
|
|
"name": "name",
|
|
"title": "Skill Name",
|
|
"type": "str",
|
|
"length": 100,
|
|
"nullable": "no",
|
|
"comments": "Skill name"
|
|
},
|
|
{
|
|
"name": "description",
|
|
"title": "Description",
|
|
"type": "text",
|
|
"nullable": "yes",
|
|
"comments": "Skill description"
|
|
},
|
|
{
|
|
"name": "content",
|
|
"title": "Skill Content",
|
|
"type": "text",
|
|
"nullable": "no",
|
|
"comments": "Full skill content (SKILL.md format)"
|
|
},
|
|
{
|
|
"name": "category",
|
|
"title": "Category",
|
|
"type": "str",
|
|
"length": 50,
|
|
"nullable": "yes",
|
|
"comments": "Skill category"
|
|
},
|
|
{
|
|
"name": "version",
|
|
"title": "Version",
|
|
"type": "str",
|
|
"length": 20,
|
|
"nullable": "no",
|
|
"default": "1.0.0",
|
|
"comments": "Skill version"
|
|
},
|
|
{
|
|
"name": "is_active",
|
|
"title": "Is Active",
|
|
"type": "str",
|
|
"length": 1,
|
|
"nullable": "no",
|
|
"default": "1",
|
|
"comments": "Whether skill is active (1=true, 0=false)"
|
|
},
|
|
{
|
|
"name": "created_at",
|
|
"title": "Created At",
|
|
"type": "timestamp",
|
|
"nullable": "no",
|
|
"comments": "Creation timestamp"
|
|
},
|
|
{
|
|
"name": "updated_at",
|
|
"title": "Updated At",
|
|
"type": "timestamp",
|
|
"nullable": "no",
|
|
"comments": "Last update timestamp"
|
|
}
|
|
],
|
|
"indexes": [
|
|
{
|
|
"name": "idx_hermes_skills_user",
|
|
"idxtype": "index",
|
|
"idxfields": ["user_id", "name"]
|
|
},
|
|
{
|
|
"name": "idx_hermes_skills_name",
|
|
"idxtype": "unique",
|
|
"idxfields": ["user_id", "name"]
|
|
},
|
|
{
|
|
"name": "idx_hermes_skills_category",
|
|
"idxtype": "index",
|
|
"idxfields": ["category"]
|
|
}
|
|
],
|
|
"codes": []
|
|
}
|