{
  "schema": "kallipolis.resource-quality.v1",
  "id": "resource.public-data.rubygems-api",
  "version": "1.0.0",
  "title": "RubyGems.org API boundary",
  "summary": "Official-source access, authentication, request-shaping, freshness, legal, and interpretation boundaries for RubyGems.org API.",
  "content": {
    "kind": "public-data-api-boundary",
    "facts": [
      {
        "id": "fact.rubygems.api.access",
        "statement": "RubyGems.org documents gem metadata, versions, owners, downloads, search, dependencies, webhooks, and activity.",
        "normativeLevel": "informative",
        "sourceIds": [
          "source.rubygems.api"
        ]
      },
      {
        "id": "fact.rubygems.api.authentication",
        "statement": "Public reads are separate from API-key-protected owner and publishing operations; credentials must remain secret and access does not grant gem ownership or trust.",
        "normativeLevel": "informative",
        "sourceIds": [
          "source.rubygems.api"
        ]
      },
      {
        "id": "fact.rubygems.api.request",
        "statement": "Clients must bind gem name, version, search term, page, endpoint, API key, ownership, and rate behavior.",
        "normativeLevel": "informative",
        "sourceIds": [
          "source.rubygems.api"
        ]
      },
      {
        "id": "fact.rubygems.api.boundary",
        "statement": "Gem metadata and download counts can change or be publisher-controlled and do not prove identity, code safety, maintenance, compatibility, or endorsement.",
        "normativeLevel": "informative",
        "sourceIds": [
          "source.rubygems.api"
        ]
      }
    ]
  },
  "language": "en",
  "category": "public-data-api",
  "state": "prepared",
  "canonicalUrl": "https://platoskallipolis.com/resources/public-data-apis/rubygems-api.json",
  "contentHash": "sha256:01f34a8e6fec7faa047eb800f308fe0da4540ded0fab2a8755044bed97f2b9ef",
  "owner": {
    "id": "platos-kallipolis",
    "name": "Plato's Kallipolis",
    "type": "organization",
    "accountabilityUrl": "https://platoskallipolis.com/about"
  },
  "access": {
    "mode": "public",
    "url": "https://platoskallipolis.com/resources/public-data-apis/rubygems-api.json",
    "authentication": "none",
    "robotsAllowed": true
  },
  "provenance": {
    "method": "primary-source",
    "sources": [
      {
        "id": "source.rubygems.api",
        "url": "https://guides.rubygems.org/rubygems-org-api/",
        "title": "RubyGems.org API documentation",
        "publisher": "RubyGems.org",
        "observedAt": "2026-08-28T18:03:05Z"
      }
    ]
  },
  "observedAt": "2026-08-28T18:03:05Z",
  "freshness": {
    "policy": "max-age",
    "state": "current",
    "nextReviewAt": "2026-09-04T18:03:05Z",
    "maxAgeSeconds": 604800
  },
  "license": {
    "id": "source-terms-apply",
    "url": "https://guides.rubygems.org/rubygems-org-api/",
    "redistributionAllowed": false
  },
  "evidence": [
    {
      "id": "evidence.rubygems.api",
      "type": "source-claim",
      "url": "https://guides.rubygems.org/rubygems-org-api/",
      "observedAt": "2026-08-28T18:03:05Z"
    }
  ]
}
