changedOutput schema / (root)
Previous value: -nullNew value: +{
+ "$defs": {
+ "OrgSkillOwner": {
+ "properties": {
+ "kind": {
+ "enum": [
+ "org"
+ ],
+ "type": "string"
+ }
+ },
+ "required": [
+ "kind"
+ ],
+ "type": "object"
+ },
+ "OrganizationID": {
+ "pattern": "^org_[a-z2-7]{26}$",
+ "type": "string"
+ },
+ "ProjectID": {
+ "description": "Project ID (proj_...).",
+ "pattern": "^proj_[a-z2-7]{26}$",
+ "type": "string"
+ },
+ "ProjectSkillOwner": {
+ "properties": {
+ "kind": {
+ "enum": [
+ "project"
+ ],
+ "type": "string"
+ },
+ "project_id": {
+ "$ref": "#/$defs/ProjectID"
+ }
+ },
+ "required": [
+ "kind",
+ "project_id"
+ ],
+ "type": "object"
+ },
+ "Skill": {
+ "properties": {
+ "created_at": {
+ "$ref": "#/$defs/Timestamp"
+ },
+ "description": {
+ "type": "string"
+ },
+ "files": {
+ "description": "Files in the skill archive, including SKILL.md, with paths relative to the skill's top-level directory. Returned when fetching a single skill; omitted from list responses.",
+ "items": {
+ "$ref": "#/$defs/SkillFile"
+ },
+ "type": "array"
+ },
+ "id": {
+ "$ref": "#/$defs/SkillID"
+ },
+ "name": {
+ "$ref": "#/$defs/SkillName"
+ },
+ "org_id": {
+ "$ref": "#/$defs/OrganizationID"
+ },
+ "owner": {
+ "$ref": "#/$defs/SkillOwner"
+ },
+ "revision": {
+ "description": "Latest revision number of the skill.",
+ "format": "int32",
+ "minimum": 1,
+ "type": "integer"
+ },
+ "revision_id": {
+ "$ref": "#/$defs/SkillRevisionID"
+ },
+ "skill_md": {
+ "type": "string"
+ },
+ "updated_at": {
+ "$ref": "#/$defs/Timestamp"
+ }
+ },
+ "required": [
+ "id",
+ "org_id",
+ "owner",
+ "name",
+ "revision_id",
+ "revision",
+ "description",
+ "created_at",
+ "updated_at"
+ ],
+ "type": "object"
+ },
+ "SkillFile": {
+ "properties": {
+ "path": {
+ "type": "string"
+ },
+ "size": {
+ "format": "int64",
+ "minimum": 0,
+ "type": "integer"
+ }
+ },
+ "required": [
+ "path",
+ "size"
+ ],
+ "type": "object"
+ },
+ "SkillID": {
+ "pattern": "^skl_[a-z2-7]{26}$",
+ "type": "string"
+ },
+ "SkillName": {
+ "description": "Machine-readable skill identifier consisting of lowercase ASCII segments separated by single hyphens.",
+ "maxLength": 64,
+ "minLength": 1,
+ "pattern": "^[a-z0-9]+(?:-[a-z0-9]+)*$",
+ "type": "string"
+ },
+ "SkillOwner": {
+ "discriminator": {
+ "mapping": {
+ "org": "#/$defs/OrgSkillOwner",
+ "project": "#/$defs/ProjectSkillOwner",
+ "user": "#/$defs/UserSkillOwner"
+ },
+ "propertyName": "kind"
+ },
+ "oneOf": [
+ {
+ "$ref": "#/$defs/OrgSkillOwner"
+ },
+ {
+ "$ref": "#/$defs/ProjectSkillOwner"
+ },
+ {
+ "$ref": "#/$defs/UserSkillOwner"
+ }
+ ]
+ },
+ "SkillRevisionID": {
+ "pattern": "^skr_[a-z2-7]{26}$",
+ "type": "string"
+ },
+ "Timestamp": {
+ "format": "date-time",
+ "type": "string"
+ },
+ "UserID": {
+ "pattern": "^usr_[a-z2-7]{26}$",
+ "type": "string"
+ },
+ "UserSkillOwner": {
+ "properties": {
+ "kind": {
+ "enum": [
+ "user"
+ ],
+ "type": "string"
+ },
+ "user_id": {
+ "$ref": "#/$defs/UserID"
+ }
+ },
+ "required": [
+ "kind",
+ "user_id"
+ ],
+ "type": "object"
+ }
+ },
+ "properties": {
+ "data": {
+ "items": {
+ "$ref": "#/$defs/Skill"
+ },
+ "type": "array"
+ },
+ "next_cursor": {
+ "type": [
+ "string",
+ "null"
+ ]
+ }
+ },
+ "required": [
+ "data",
+ "next_cursor"
+ ],
+ "type": "object"
+}