{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/cephable/json-schema/cephable-agent-skill-model-schema.json",
  "title": "AgentSkillModel",
  "x-generated": "2026-11-29",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/cephable-openapi.yml#/components/schemas/AgentSkillModel",
  "type": "object",
  "properties": {
    "id": {
      "type": [
        "string",
        "null"
      ]
    },
    "createdDate": {
      "type": "string",
      "format": "date-time"
    },
    "modifiedDate": {
      "type": "string",
      "format": "date-time"
    },
    "createdByUserId": {
      "type": [
        "string",
        "null"
      ]
    },
    "organizationId": {
      "type": [
        "string",
        "null"
      ]
    },
    "name": {
      "type": [
        "string",
        "null"
      ]
    },
    "displayName": {
      "type": [
        "string",
        "null"
      ]
    },
    "description": {
      "type": [
        "string",
        "null"
      ]
    },
    "shortDescription": {
      "type": [
        "string",
        "null"
      ]
    },
    "iconUrl": {
      "type": [
        "string",
        "null"
      ]
    },
    "darkModeIconUrl": {
      "type": [
        "string",
        "null"
      ]
    },
    "version": {
      "type": [
        "string",
        "null"
      ]
    },
    "categories": {
      "type": [
        "array",
        "null"
      ],
      "items": {
        "type": "string"
      }
    },
    "interests": {
      "type": [
        "array",
        "null"
      ],
      "items": {
        "type": "string"
      }
    },
    "isPublic": {
      "type": "boolean"
    },
    "isOfficial": {
      "type": "boolean"
    },
    "isFeatured": {
      "type": "boolean"
    },
    "isDisabled": {
      "type": "boolean"
    },
    "publishedDate": {
      "type": [
        "string",
        "null"
      ],
      "format": "date-time"
    },
    "publicationStatus": {
      "$ref": "#/$defs/AgentExtensionPublicationStatus"
    },
    "lastSubmittedDate": {
      "type": [
        "string",
        "null"
      ],
      "format": "date-time"
    },
    "lastReviewNotes": {
      "type": [
        "string",
        "null"
      ]
    },
    "isStudentAccess": {
      "type": "boolean"
    },
    "isEmployeeAccess": {
      "type": "boolean"
    },
    "isPlusAccess": {
      "type": "boolean"
    },
    "isDeveloperAccess": {
      "type": "boolean"
    },
    "hasPackage": {
      "type": "boolean"
    },
    "packageChecksum": {
      "type": [
        "string",
        "null"
      ]
    },
    "packageSizeBytes": {
      "type": [
        "integer",
        "null"
      ],
      "format": "int64"
    },
    "packageUpdatedDate": {
      "type": [
        "string",
        "null"
      ],
      "format": "date-time"
    },
    "packageVersion": {
      "type": "integer",
      "format": "int32"
    },
    "averageRating": {
      "type": [
        "number",
        "null"
      ],
      "format": "double"
    },
    "ratingCount": {
      "type": [
        "integer",
        "null"
      ],
      "format": "int32"
    },
    "installCount": {
      "type": [
        "integer",
        "null"
      ],
      "format": "int32"
    },
    "commentCount": {
      "type": [
        "integer",
        "null"
      ],
      "format": "int32"
    },
    "myRating": {
      "type": [
        "integer",
        "null"
      ],
      "format": "int32"
    }
  },
  "additionalProperties": false,
  "$defs": {
    "AgentExtensionPublicationStatus": {
      "enum": [
        0,
        1,
        2,
        3,
        4
      ],
      "type": "integer",
      "format": "int32"
    }
  }
}