{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/genomsyn-se/json-schema/genomsyn-se-sokresultat-schema.json",
  "title": "Sokresultat",
  "x-generated": "2026-11-09",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/genomsyn-se-openapi.json#/components/schemas/Sokresultat",
  "properties": {
    "antal": {
      "type": "integer"
    },
    "fraga": {
      "type": "string"
    },
    "traffar": {
      "items": {
        "$ref": "#/$defs/Traff"
      },
      "type": "array"
    }
  },
  "type": "object",
  "$defs": {
    "Traff": {
      "properties": {
        "anstallda": {
          "type": [
            "number",
            "null"
          ]
        },
        "lank": {
          "format": "uri",
          "type": "string"
        },
        "namn": {
          "type": "string"
        },
        "omsattning": {
          "type": [
            "integer",
            "null"
          ]
        },
        "orgnr": {
          "type": "string"
        },
        "postort": {
          "type": [
            "string",
            "null"
          ]
        },
        "senaste_ar": {
          "type": [
            "integer",
            "null"
          ]
        },
        "status": {
          "type": "string"
        }
      },
      "type": "object"
    }
  }
}