{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/huggingbay-xyz/json-schema/huggingbay-xyz-artifact-review-schema.json",
  "title": "ArtifactReview",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/huggingbay-xyz-community-api-openapi.yml#/components/schemas/ArtifactReview",
  "type": "object",
  "required": [
    "id",
    "artifactId",
    "rating",
    "title",
    "body",
    "createdAt"
  ],
  "properties": {
    "id": {
      "type": "string"
    },
    "artifactId": {
      "type": "string"
    },
    "repo": {
      "type": "string"
    },
    "reviewer": {
      "type": "string"
    },
    "reviewerRole": {
      "type": "string"
    },
    "rating": {
      "type": [
        "number",
        "null"
      ],
      "minimum": 1,
      "maximum": 5
    },
    "title": {
      "type": "string"
    },
    "body": {
      "type": "string"
    },
    "tool": {
      "type": "string"
    },
    "categoryRatings": {
      "type": "object",
      "additionalProperties": {
        "type": "number",
        "minimum": 1,
        "maximum": 5
      }
    },
    "version": {
      "type": "string"
    },
    "evidence": {
      "anyOf": [
        {
          "$ref": "https://huggingbay.xyz/api/schemas#/$defs/BenchmarkEvidence"
        },
        {
          "type": "null"
        }
      ]
    },
    "createdAt": {
      "type": "string"
    },
    "updatedAt": {
      "type": "string"
    }
  },
  "additionalProperties": true
}