{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/revyl/json-schema/revyl-organization-repositories-response-schema.json",
  "title": "OrganizationRepositoriesResponse",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/revyl-integrations-github-app-api-openapi.yml#/components/schemas/OrganizationRepositoriesResponse",
  "properties": {
    "github_integration_enabled": {
      "default": true,
      "title": "Github Integration Enabled",
      "type": "boolean"
    },
    "has_access": {
      "title": "Has Access",
      "type": "boolean"
    },
    "installation": {
      "anyOf": [
        {
          "$ref": "#/$defs/OrgInstallation"
        },
        {
          "type": "null"
        }
      ]
    },
    "repositories": {
      "items": {
        "$ref": "#/$defs/OrgRepository"
      },
      "title": "Repositories",
      "type": "array"
    }
  },
  "required": [
    "repositories",
    "installation",
    "has_access"
  ],
  "type": "object",
  "$defs": {
    "OrgInstallation": {
      "properties": {
        "created_at": {
          "format": "date-time",
          "title": "Created At",
          "type": "string"
        },
        "gh_installation_owner_id": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "title": "Gh Installation Owner Id"
        },
        "id": {
          "format": "uuid",
          "title": "Id",
          "type": "string"
        },
        "installation_id": {
          "title": "Installation Id",
          "type": "integer"
        },
        "propel_org_id": {
          "title": "Propel Org Id",
          "type": "string"
        },
        "status": {
          "title": "Status",
          "type": "string"
        },
        "verified_at": {
          "anyOf": [
            {
              "format": "date-time",
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "title": "Verified At"
        }
      },
      "required": [
        "id",
        "propel_org_id",
        "installation_id",
        "status",
        "created_at"
      ],
      "title": "OrgInstallation",
      "type": "object"
    },
    "OrgRepository": {
      "properties": {
        "installation_id": {
          "title": "Installation Id",
          "type": "integer"
        },
        "owner": {
          "title": "Owner",
          "type": "string"
        },
        "repo": {
          "title": "Repo",
          "type": "string"
        }
      },
      "required": [
        "owner",
        "repo",
        "installation_id"
      ],
      "title": "OrgRepository",
      "type": "object"
    }
  }
}