{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/hackforddata-com/json-schema/hackforddata-com-public-api-saved-search-schema.json",
  "title": "PublicApiSavedSearch",
  "x-generated": "2026-11-11",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/hackforddata-com-openapi.yml#/components/schemas/PublicApiSavedSearch",
  "type": "object",
  "properties": {
    "id": {
      "type": "integer",
      "readOnly": true
    },
    "scope": {
      "type": "string",
      "readOnly": true
    },
    "can_edit": {
      "type": "boolean",
      "readOnly": true
    },
    "name": {
      "type": "string",
      "maxLength": 120
    },
    "entity_type": {
      "$ref": "#/$defs/EntityTypeEnum"
    },
    "definition_version": {
      "type": "integer",
      "readOnly": true
    },
    "definition": {},
    "created_at": {
      "type": "string",
      "format": "date-time",
      "readOnly": true
    },
    "updated_at": {
      "type": "string",
      "format": "date-time",
      "readOnly": true
    }
  },
  "required": [
    "can_edit",
    "created_at",
    "definition_version",
    "entity_type",
    "id",
    "name",
    "scope",
    "updated_at"
  ],
  "$defs": {
    "EntityTypeEnum": {
      "enum": [
        "firms",
        "people"
      ],
      "type": "string",
      "description": "* `firms` - firms\n* `people` - people"
    }
  }
}